This image was made for build sphinx documents. Target CI-software is gitlab-ci.
Some useful sphinxcontrib packages and theme are included.
If you need latex/pdf output, use tsgkadot/sphinx-plantuml:tex image.(Size is too big!)
docker run --rm -v `pwd`:/tmp/sphinx --name sphinx sphinx-plantuml sphinx-build -b html /tmp/sphinx/source /tmp/sphinx/build
Sample .gitlab.yml is bellow.
image: tsgkadot/sphinx-plantuml:latest
stages:
- build
pages:
stage: build
script:
- pip install -r requirements.txt -U
- sphinx-build -b html ./source public
artifacts:
expire_in: 1 week
paths:
- public
tags:
- docker
- Tag: alpine python:3.6-alpine(Official image)
- sphinx 1.7.6
- sphinxcontrib-blockdiag 1.5.5
- sphinxcontrib-actdiag 0.8.5
- sphinxcontrib-nwdiag 0.9.5
- sphinxcontrib-seqdiag 0.8.5
- sphinxcontrib-plantuml 0.0.10
- java (for plantuml)
- graphviz (for plantuml)
- platnuml (Version 1.2018.1)
- git (#1)
Nice bootstrap / Material Design themes are included.
theme | version | remarks |
---|---|---|
sphinxbootstrap4theme | 0.5.0 | Bootstrap theme |
sphinx_materialdesign_theme | 0.1.10 | material design theme |
These theme's demo sites are below.
- /usr/local/plantuml/plantuml.jar
echo $PLANTUML
Installe location is below.
/usr/share/fonts/TakaoFonts/