mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-02 09:10:11 +02:00
CI: Use Debian packages for documenation build
This commit is contained in:
parent
d3c51f3abd
commit
37dd416aeb
@ -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/
|
||||
|
Loading…
Reference in New Issue
Block a user