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

Latest commit

 

History

History
49 lines (30 loc) · 1.18 KB

README.rst

File metadata and controls

49 lines (30 loc) · 1.18 KB

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