Skip to content
This repository has been archived by the owner on Dec 24, 2019. It is now read-only.

hjacobs/docker-sphinx-doc

Repository files navigation

Sphinx auto deploy

This appliance allows serving Sphinx documentation hosted on GIT.

Use environment variables to select what to checkout and run. Content is updated via basic git pull every 45 seconds (no webhook magic for now).

APP_URL: "https://my-sphinx-doc.example.org/"
GIT_SSH_KEY: "aws:kms:...."
GIT_REPO: git@.....
CONTENT_FOLDER: "compendium"

CONTENT_FOLDER specifies subfolder where Sphinx make command should be run.

Content is served via Python OAuth2 Proxy from

$CONTENT_FOLDER/_build/html

Docker Image

The current Docker image is available in Zalando's Open Source Docker registry:

$ docker pull registry.opensource.zalan.do/stups/sphinx-doc:0.3
$ docker run -it -p 8080:8080 -e ... registry.opensource.zalan.do/stups/sphinx-doc:0.3

Deployment

Use "MainDomain" in the Senza "AppLoadBalancer" section to define a DNS name

Sphinx Makefile

Use the default Sphinx Makefile to build your Sphinx Project (make html).

Sphinx

http://sphinx-doc.org

About

Docker image to update, build and serve Sphinx documentation including OAuth authorization flow

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages