Standard usage. Current directory must have conf.py. See sphinx documentation.
sudo mkdir /var/www/html/sphinx
sudo chown --reference=$HOME /var/www/html/sphinx
docker run --rm -it \
-v "${PWD}:/source" \
-v "/var/www/html/sphinx:/build" \
-e SPHINXOPTS="-a" \
jeci/sphinx-doc
SOURCEDIR=/sourceBUILDDIR=/buildSPHINXOPTS="-a"CMD sphinx-build ${SPHINXOPTS} ${SOURCEDIR} ${BUILDDIR}
/source/buildContent type
Image
Digest
Size
60.8 MB
Last updated
over 7 years ago
docker pull jeci/sphinx-doc