-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Bofu Chen edited this page Sep 13, 2020
·
8 revisions
There are two essential branches
- master: contains documentation source code (Material for MkDocs).
- gh-pages: contains documentation deployment (HTML).
-
Switch to the master branch.
-
$ mkdocs serve
-
Open the URL http://localhost:8000 in browser.
-
Run the command
$ mkdocs gh-deploy
-
(one-time) Set GitHub Pages to the gh-pages branch.
-
Open the URL http://doc.berrynet.org in browser.
-
How to write indent code blocks?
Refer to this clear solution.