-
-
Notifications
You must be signed in to change notification settings - Fork 494
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into make-usage-examples-section-interactive
- Loading branch information
Showing
5 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
.. _dev-building-docs: | ||
|
||
How to build the docs locally | ||
============================= | ||
|
||
After preparing your Windows or Linux environment, install Spin and Ninja:: | ||
|
||
pip install spin ninja | ||
|
||
Then install the documentation-related dependencies:: | ||
|
||
pip install -r util/readthedocs/requirements.txt | ||
|
||
Then tell Spin to build the Sphinx documentation:: | ||
|
||
spin docs | ||
|
||
Then open a webserver to serve the built HTML files:: | ||
|
||
python -m http.server -d doc/build/html 8000 | ||
|
||
And open your local docs in a web browser by visiting http://localhost:8000/. | ||
|
||
If it's your first time building the docs, it will take a while but should go | ||
faster on subsequent re-builds. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters