#!/usr/bin/env python # coding: utf-8 # # Build the Sphinx documention # With this notebook you can builld a local copy of phconvert's documentation. # # Make sure you have installed sphinx 1.3 (or later) and the napoleon extension (included with sphinx 1.3 or later). # You will also need the theme `sphinx_rtd_theme`. You can install it via conda with `conda install sphinx_rtd_theme`. # In[ ]: import os DOCS_DIR = r'./' HTML_DIR= os.path.abspath('.') + '_build/html' # In[ ]: get_ipython().system('sphinx-build -b html "$DOCS_DIR" "$HTML_DIR"') # Read the generated documentation [here](docs_html/index.html). # In[ ]: