Documentation for nbconvert
is hosted on ReadTheDocs.
-
Change directory to documentation root:
$ cd docs -
Create conda env (and install relevant dependencies):
$ conda env create -f environment.yml -
Activate the newly built conda environment
nbconvert_docs$ source activate nbconvert_docs -
Create an editable install for nbconvert with doc dependencies using
$ pip install -e '..[docs]'or if you want,
cd ..andpip install . -e. But then you will need tocd docsbefore continuing to the next step. -
Build documentation using Makefile for Linux and OS X:
$ make htmlor on Windows:
$ make.bat html -
Display the documentation locally by navigating to
build/html/index.htmlin your browser:Or alternatively you may run a local server to display the docs. In Python 3:
$ python -m http.server 8000In your browser, go to
http://localhost:8000.
conf.py- Sphinx build configuration filesourcedirectory - source for documentationsource/apidirectory - source files for generated API documentationautogen_config.py- Generates configuration of ipynb source files to rstindex.rst- Main landing page of the Sphinx documentation