Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 31ea315

Browse files
authored
Add offline docs, up the h2 size (#116241)
1 parent 8473da2 commit 31ea315

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

dev/docs/README.md

+23
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,29 @@ the following locations:
1818
* [Codelabs](https://flutter.dev/docs/codelabs)
1919
* [Contributing to Flutter](https://github.com/flutter/flutter/blob/master/CONTRIBUTING.md)
2020

21+
## Offline Documentation
22+
23+
In addition to the online sites above, Flutter's documentation can be downloaded
24+
as an HTML documentation ZIP file for use when offline or when you have a poor
25+
internet connection.
26+
27+
**Warning: the offline documentation files are quite large, approximately 700 MB
28+
to 900 MB.**
29+
30+
Offline HTML documentation ZIP bundles:
31+
32+
* [Stable channel](https://api.flutter.dev/offline/flutter.docs.zip)
33+
* [Master channel](https://master-api.flutter.dev/offline/flutter.docs.zip)
34+
35+
Or, you can add Flutter to the open-source [Zeal](https://zealdocs.org/) app
36+
using the following XML configurations. Follow the instructions in the
37+
application for adding a feed.
38+
39+
* Stable channel Zeal XML configuration URL:
40+
<https://api.flutter.dev/offline/flutter.xml>
41+
* Master channel Zeal XML configuration URL:
42+
<https://master-api.flutter.dev/offline/flutter.xml>
43+
2144
## Importing a Library
2245

2346
### Framework Libraries

dev/docs/assets/overrides.css

+6
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ h2 {
1919
font-size: 24px;
2020
}
2121

22+
/* Specifically make all the Markdown h2 headings slightly
23+
bigger, so the Markdown CSS doesn't override it. */
24+
.markdown h2 {
25+
font-size: 24px;
26+
}
27+
2228
section.summary h2 {
2329
color: inherit;
2430
border-bottom: none;

0 commit comments

Comments
 (0)