Public | Automated Build

Last pushed: 6 months ago
Short Description
Sphinx documentation builder with extras
Full Description

Docker Sphinx

Docker image for Sphinx.

This image contains:

Build

git clone https://github.com/nickjer/docker-sphinx.git
cd docker-sphinx
docker build --force-rm -t nickjer/docker-sphinx .

Install

docker pull nickjer/docker-sphinx

Usage

docker run --rm -i -t -v "${PWD}:/doc" -u "$(id -u):$(id -g)" nickjer/docker-sphinx <cmd>

Docker Compose

It is recommended to use Docker Compose. An
example docker-compose.yml is seen as:

version: "2"
services:
  sphinx:
    image: "nickjer/docker-sphinx"
    volumes:
      - "${PWD}:/doc"
    user: "1000:1000"

Then run:

docker-compose run --rm sphinx <cmd>

Examples:

docker-compose run --rm sphinx sphinx-quickstart
docker-compose run --rm sphinx make html
Docker Pull Command
Owner
nickjer
Source Repository