-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add doc build-docs-sphinx * move docs for-developers under main * minor docs updates * change toctree maxdepth * update CHANGELOG for v0.3.3 release
- Loading branch information
Showing
10 changed files
with
69 additions
and
29 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,31 @@ | ||
# Build Documentation with Sphinx | ||
|
||
This page describes how to build documentation locally for testing. | ||
This is not always needed. | ||
Our published documentation is built and released automatically when a | ||
[new package version](release-new-version.md) is released. | ||
In addition, every PR triggers automatic testing of the documentation build. | ||
However, those GitHub builds can take awhile and there doesn't seem to be an easy way to actually | ||
view the built documentation. | ||
For those reasons, it is sometimes helpful to be able to build the documentation locally. | ||
|
||
Follow the setup steps in [Managing Dependencies with Poetry](manage-dependencies-poetry.md) to | ||
create a conda environment with Poetry installed. Then: | ||
|
||
```bash | ||
# Install pittgoogle dependencies, including those in the "docs" group. | ||
poetry install --with=docs | ||
``` | ||
|
||
Now, `cd` to the docs directory and run `make`: | ||
|
||
```bash | ||
cd docs # assuming we started in the repo root directory | ||
|
||
# Build the documentation | ||
make clean | ||
make html | ||
``` | ||
|
||
This should have created a file at `docs/build/html/index.html`. | ||
Open it in a browser to view the built documentation. |
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,10 @@ | ||
For Developers | ||
================= | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
setup-environment | ||
manage-dependencies-poetry | ||
build-docs-sphinx | ||
release-new-version |
File renamed without changes.
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
File renamed without changes.
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