Skip to content

Latest commit

 

History

History
124 lines (90 loc) · 4.64 KB

README.md

File metadata and controls

124 lines (90 loc) · 4.64 KB

Sphinx docker image (minidocks/sphinx-doc)

Sphinx is a documentation generator that converts reStructuredText files into HTML websites and other formats including PDF, EPub, Texinfo and man.

reStructuredText is extensible, and Sphinx exploits its extensible nature through a number of extensions – for autogenerating documentation from source code, writing mathematical notation or highlighting source code, etc.

Installed extensions

Themes

Pdf themes (only minidocks/sphinx-doc:*-pdf)

More themes on https://sphinx-themes.org/.

Extensions

Pdf extensions (only minidocks/sphinx-doc:*-pdf)

More extensions on

Tools

Markdown support

Usage

Generate a new documentation:

docker run --rm -it -v `pwd`:/doc -w /doc minidocks/sphinx-doc sphinx-quickstart .

Run a documentation server:

docker run --rm -v `pwd`:/doc -w /doc -p 8000:8000 minidocks/sphinx-doc sphinx-autobuild -H 0.0.0.0 . _build/

Custom docker image

Create own image with a custom theme:

FROM minidocks/sphinx-doc

RUN pip install sphinx_rtd_theme && clean

Tags

Tag Size
latest, 4
pdf
4
4-pdf

Related images

Alternatives