Dockerfile
for Sphinx including following extensions:
- Sphinx ReadTheDocs Theme:
sphinx_rtd_theme
- Copy burron
sphinx_copybutton
- Sphinx emojies
sphinxemoji
- Sphinx Fontwaesome
sphinx_fontawesome
- Sphinx Toolbox
sphinx-toolbox
The image is available on DockerHub: https://hub.docker.com/repository/docker/bwibo/sphinx-rtd
Mount your local docs
folder to /docs
inside the container and append the command you want to use.
More info on the available commands is available in the documentation of the base image:
https://hub.docker.com/r/sphinxdoc/sphinx
# Build HTML docs
docker run --rm \
-v $PWD:/docs \
bwibo/sphinx-rtd make html
Run build.sh
to build the image or:
docker build -t bwibo/sphinx-rtd --build-arg SPHINX_VERSION=6.2.1 .