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 docs
before continuing to the next step. -
Build documentation using Makefile for Linux and OS X:
$ make html
or on Windows:
$ make.bat html
-
Display the documentation locally by navigating to
build/html/index.html
in your browser:Or alternatively you may run a local server to display the docs. In Python 3:
$ python -m http.server 8000
In your browser, go to
http://localhost:8000
.
conf.py
- Sphinx build configuration filesource
directory - source for documentationsource/api
directory - source files for generated API documentationautogen_config.py
- Generates configuration of ipynb source files to rstindex.rst
- Main landing page of the Sphinx documentation