I used pip
to install Python module. I used virtualenv
to isolate the Python environment.
Depending on your environment, the tools(pip, virtualenv) may not be required
All work is done under the s2graph/doc
folder.
cd doc
If pip
is not installed, you need to install it first by referring to the link: https://pip.pypa.io/en/stable/installing/
pip install virtualenv virtualenv -p python s2graph_doc source s2graph_doc/bin/activate
pip install Sphinx pip install sphinx_rtd_theme
make html
# python 2 pushd build/html && python -m SimpleHTTPServer 3000 # python 3 pushd build/html && python -m http.server 3000