- Install Pandoc
If you use Conda,
conda install pandoc
or
sudo apt install pandoc
- Install required python packages
pip install sphinx recommonmark ipython nbsphinx sphinx-autobuild
- Build website.
sphinx-autobuild src build
And find the result in build
directory.
- Add a new document in
src/
. The file format can be eitherrst
ormd
. - Open
src/_template/layout.html
. Go to line 35. Append a new link there (put document file name without extension). - Add a link to
src/toctree.rst
.
- Add a new document in
src/topics
orsrc/examples
. The file format can be eitherrst
ormd
. - Done! The document will be automatically published soon.