pip install Sphinx
pip install recommonmark
See more detail http://www.sphinx-doc.org/en/stable/markdown.html
pip install sphinx_rtd_theme
See more detail https://github.com/rtfd/sphinx_rtd_theme
pip install sphinxcontrib-newsfeed
pip install sphinxcontrib-spelling
Install nginx and config like below. Set document root accordingly.
# nginx conf
server {
listen 80;
server_name docs.patric.local;
root /p3_docs/docroot/_build/html;
}
Add record for docs.patric.local in /etc/hosts
with sudo
127.0.0.1 localhost
127.0.0.1 docs.patric.local