| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Note
The sphinx-latexpdf container contains TeXLive images, meaning it is very large (over 2GiB).
Create a Sphinx project:
$ docker run -it --rm -v /path/to/document:/docs sphinxdoc/sphinx sphinx-quickstartBuild HTML document:
$ docker run --rm -v /path/to/document:/docs sphinxdoc/sphinx sphinx-build -M html . _buildBuild EPUB document:
$ docker run --rm -v /path/to/document:/docs sphinxdoc/sphinx sphinx-build -M epub . _buildBuild PDF document:
$ docker run --rm -v /path/to/document:/docs sphinxdoc/sphinx-latexpdf sphinx-build -M latexpdf . _buildTo install additional dependencies, use sphinxdoc/sphinx as a base image:
# in your Dockerfile
FROM sphinxdoc/sphinx
WORKDIR /docs
ADD requirements.txt /docs
RUN python3 -m pip install -r requirements.txtThe Docker image used for testing Sphinx in continuous integration is defined in the ci directory.
| Back | FazBrowse Home | New Git URL |