Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 620 Bytes

README.md

File metadata and controls

30 lines (25 loc) · 620 Bytes

Sphinx Documentation Builder

Building the docker image:

docker build -t sphinx-doc-builder .

To see the usage of this container:

docker run -ti --rm --init -v `pwd`:/doc \
  sphinx-doc-builder

Create a new documentation site:

docker run -ti --rm --init -v `pwd`:/doc \
  sphinx-doc-builder sphinx-quickstart

To see build targets:

docker run -ti --rm --init -v `pwd`:/doc \
  sphinx-doc-builder make help

To edit and live-reload the html:

docker run -ti --rm --init -v `pwd`:/doc -p 8000:8000 \
  sphinx-doc-builder make livehtml