PyMC3 uses mkdocs which allows us to write documentation in markdown.
We also compile IPython notebooks (found in docs/notebooks) to markdown which then get picked up by mkdocs.
To build the docs you need to:
-
Convert the IPython Notebooks to markdown by running the
convert_nbs_to_md.sh
script from thedocs
directory. If you added a new notebook which you want included in the documentation, you have to add it tomkdocs.yml
. -
Run
mkdocs build
from the root directory. This will create a subdirectory site with the static html files you can view in your browser. -
To deploy, run
mkdocs gh-deploy
. Note that this requires write access to thepymc3
repo.