Dockerfile with:
- Sphinx documentation tool (version 1.4)
- LaTeX
- HTML themes from http://docs.writethedocs.org/tools/sphinx-themes
$ docker build -t sphinx-doc .
Mounts a host directory (/host-dir-with-sphinx-doc
) as a container volume (/doc
).
$ docker run -i -t -v /host-dir-with-sphinx-doc:/doc sphinx-doc
$ cd /doc
To create Sphinx project:
$ sphinx-quickstart
To create a pdf:
$ make latexpdf
To create a html document:
$ make html