rvanrooy / sphinx-doc-docker

Sphinx documentation (LaTeX + HTML themes)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

General

Dockerfile with:

Build image

$ docker build -t sphinx-doc .

Run

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

About

Sphinx documentation (LaTeX + HTML themes)