HUB
Sign inSign up

tk0miya/sphinx-base

By tk0miya

•Updated over 6 years ago

(now testing...)

Image
0

2.3K

tk0miya/sphinx-base repository overview

⁠docker-sphinx

Docker image for Sphinx build.

⁠Images

  • tk0miya/sphinx-base
  • tk0miya/sphinx-base-pdf
  • tk0miya/sphinx-html
  • tk0miya/sphinx-epub
  • tk0miya/sphinx-pdf

.. note:: tk0miya/sphinx-pdf contains TeXLive packages. So the image is very large (over 2GB!).

⁠Usage

Build HTML document::

$ docker run --rm -v /path/to/document:/docs tk0miya/sphinx-html

Build EPUB document::

$ docker run --rm -v /path/to/document:/docs tk0miya/sphinx-epub

Build PDF document::

$ docker run --rm -v /path/to/document:/docs tk0miya/sphinx-pdf

⁠Tips

If you would like to install dependencies, use tk0miya/sphinx-base as a base image::

⁠in your Dockerfile

FROM tk0miya/sphinx-base

WORKDIR /docs ADD requirements.txt /docs RUN pip3 install -r requirements.txt CMD make html

Tag summary
Recent tags
Content type
Image
Digest
Size
268.9 MB
Last updated
over 6 years ago
docker pull tk0miya/sphinx-base:latest