This image is intended to build sphinx documentations.
628
This image is intended to build sphinx documentations .
*latest : based on sphinxdoc/sphinx, so capable of producing html and epub
*latexpdf : based on sphinxdoc/sphinx-latexpdf, so capable of producing html, epub and pdf
If you want to produce a pdf documentation, please replace latest in the examples below with latexpdf
docker pull lan2play/docker-sphinxbuild:latest;
run in the docs Folder
docker run -it --rm -v $PWD:/docs -e USERID=$(id -u ${USER}) -e GROUPID=$(id -g ${USER}) lan2play/docker-sphinxbuild:latest
run in the docs Folder
docker run -it --rm -v $PWD:/docs -e Task=intl -e USERID=$(id -u ${USER}) -e GROUPID=$(id -g ${USER}) lan2play/docker-sphinxbuild:latest
requirements.txt exists, pip3 install -r requirements.txt will be executed before the MakeCommandsCACHE=TRUE and mount /cache to some folder on your system. This will cache /usr/local/lib/python*/site-packages and /usr/local/bin. For example:docker run -it --rm -v $PWD:/docs -v $PWD/cache:/cache -e CACHE=TRUE -e MakeCommands=html,epub lan2play/docker-sphinxbuild:latest
USERID or GROUPID env variable, the build folder will be owned by rootMakeCommands env variable is set to html by default, to execute the make html command. if you want to use something else or multiple, you can overwrite it like this:docker run -it --rm -v $PWD:/docs -e MakeCommands=html,epub lan2play/docker-sphinxbuild:latest
-e IntlLangs=de,frbuild/gettext, you can just add them with -e IntlOut=de,frContent type
Image
Digest
sha256:a6a57cc1c…
Size
124.8 MB
Last updated
over 2 years ago
docker pull lan2play/docker-sphinxbuild