Draft: set up docs based on docstrings and publish HTML versions

This commit is contained in:
Benedikt Brückmann 2021-05-03 15:35:11 +02:00 committed by Hans-Christoph Steiner
parent 022d0796d8
commit a15581faa9
5 changed files with 147 additions and 0 deletions

View file

@ -412,3 +412,15 @@ servergitmirrors:
- echo $DLURL
- wget $DLURL/index-v1.jar
- diff repo/index-v1.jar index-v1.jar
Build documentation:
image: python:3.9-buster
script:
- pip install -e .[docs]
- cd docs
- sphinx-apidoc -o ./source ../fdroidserver -M -e
- sphinx-autogen -o generated source/*.rst
- make html
artifacts:
paths:
- docs/build/html/