Skip to content

Documentation

Installation

To install documentation dependencies:

pip install -e '.[doc]'

Preview locally

To serve the documentation locally (for preview):

cd docs
# make sure you are at PROJECT_ROOT/docs

mike serve

or, you can use mkdocs to live-reload:

mkdocs serve

To check list of documentation versions:

make list

Check other utilities in PROJECT_ROOT/docs/Makefile.

How to add a new document

Steps:

  1. Create a new markdown file under PROJECT_ROOT/docs/docs/ (e.g. docs/docs/develop/foo.md)
  2. Add an entry in docs/mkdocs-nav.yml