Skip to content

Sphinx documentation builder with extras in a Docker container

License

Notifications You must be signed in to change notification settings

nickjer/docker-sphinx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker Sphinx

Build Status Docker Build Status GitHub License

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

About

Sphinx documentation builder with extras in a Docker container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published