To install the packages needed for building documentation, refer to the Python 3 steps of the Developer Installation instructions in the contribution guide.
- create a new
.rst
file intutorials/
- add the new page as an entry in the
toctree
oftutorials/tutorials.rst
; the format is
Page Title <relative/path/to/page>
- This makes the new page accessible via the navigation sidebar.
To clear existing generated files and rebuild pages, run:
rm -rf _build/; make html
To open the landing page in your web browser, run:
open _build/html/index.html
- (optional) Go to https://readthedocs.org/projects/verta/versions/ to activate a branch to be deployed
- If your branch doesn't appear, wait about 10 minutes or so for ReadTheDocs to update its index.
- Go to https://readthedocs.org/projects/verta/builds/ to trigger and deploy a new build
- When the build is completed, there will be an easy-to-miss "View docs" link to the right.
- As of March 19, for some reason unknown to me, ReadTheDocs doesn't seem to update the rendered docs for almost a full day after a build is completed. I recommend sticking with local builds for incremental changes, and only build on ReadTheDocs to make sure the final version looks as intended.
- (optional) When done testing, return to https://readthedocs.org/projects/verta/versions/ to deactivate the branch version