CI: Use Debian packages for documenation build

This commit is contained in:
Jochen Sprickerhof 2023-01-03 15:17:00 +01:00
parent d3c51f3abd
commit 37dd416aeb
No known key found for this signature in database
GPG Key ID: 5BFFDCC258E69433
1 changed files with 5 additions and 5 deletions

View File

@ -482,16 +482,16 @@ servergitmirrors:
- diff repo/index-v1.jar index-v1.jar
Build documentation:
image: debian:bullseye
image: debian:bullseye-backports
<<: *apt-template
script:
- apt-get install python3-pip make
- pip install .[docs]
- apt-get install make python3-sphinx python3-numpydoc python3-pydata-sphinx-theme pydocstyle fdroidserver
- apt purge fdroidserver
- pydocstyle fdroidserver
- cd docs
- sphinx-apidoc -o ./source ../fdroidserver -M -e
- sphinx-autogen -o generated source/*.rst
- make html
- PYTHONPATH=.. sphinx-autogen -o generated source/*.rst
- PYTHONPATH=.. make html
artifacts:
paths:
- docs/build/html/