jupinx-quickstart¶
A quickstart utility has been developed to help users get setup quickly with Sphinx, configured in a way to get building collections of Jupyter notebooks quickly.
Installation¶
To install jupinx:
Warning
This project is not yet released through PyPI. Please instead install
using: python setup.py install from within a clone of the
repository.
pip install jupinx
Note
Windows is currently not tested or supported.
See Issue #7
Running jupinx-quickstart¶
Once, jupinx is installed, to run the jupinx quickstart program you can run:
jupinx-quickstart
on a terminal.
The jupinx-quickstart will:
- setup a directory structure for your project
- check for
sphinxcontrib-jupyterinstallation - construct
Makefileand conf.p` files - a parent document
source/index.rst
after running the quickstart you may run make jupyter to build the project
Directory structure¶
The following directory structure is adopted during the setup:
./source: where source RST files should be addedsource/_static: where _static assets such as figures and images are kepttheme: allows you to customise builders using themes and templatesMakefile: providesmakecommands for compiling the projectconf.py: provides configuration forsphinx-build
Note
sphinx is actually quite flexible in setting up a project in a way
that suits your workflow. If you want to change directory structure this
is likely possible but you will need to update your Makefile