[go: nahoru, domu]

Skip to content

Commit

Permalink
Add offline docs, up the h2 size (#116241)
Browse files Browse the repository at this point in the history
  • Loading branch information
gspencergoog committed Nov 30, 2022
1 parent 8473da2 commit 31ea315
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
23 changes: 23 additions & 0 deletions dev/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,29 @@ the following locations:
* [Codelabs](https://flutter.dev/docs/codelabs)
* [Contributing to Flutter](https://github.com/flutter/flutter/blob/master/CONTRIBUTING.md)

## Offline Documentation

In addition to the online sites above, Flutter's documentation can be downloaded
as an HTML documentation ZIP file for use when offline or when you have a poor
internet connection.

**Warning: the offline documentation files are quite large, approximately 700 MB
to 900 MB.**

Offline HTML documentation ZIP bundles:

* [Stable channel](https://api.flutter.dev/offline/flutter.docs.zip)
* [Master channel](https://master-api.flutter.dev/offline/flutter.docs.zip)

Or, you can add Flutter to the open-source [Zeal](https://zealdocs.org/) app
using the following XML configurations. Follow the instructions in the
application for adding a feed.

* Stable channel Zeal XML configuration URL:
<https://api.flutter.dev/offline/flutter.xml>
* Master channel Zeal XML configuration URL:
<https://master-api.flutter.dev/offline/flutter.xml>

## Importing a Library

### Framework Libraries
Expand Down
6 changes: 6 additions & 0 deletions dev/docs/assets/overrides.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ h2 {
font-size: 24px;
}

/* Specifically make all the Markdown h2 headings slightly
bigger, so the Markdown CSS doesn't override it. */
.markdown h2 {
font-size: 24px;
}

section.summary h2 {
color: inherit;
border-bottom: none;
Expand Down

0 comments on commit 31ea315

Please sign in to comment.