mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-04 16:31:05 +03:00
Merge branch 'ci_doc_debian' into 'master'
CI: Use Debian packages for documenation build See merge request fdroid/fdroidserver!1278
This commit is contained in:
commit
5075586f7d
1 changed files with 5 additions and 5 deletions
|
@ -482,16 +482,16 @@ servergitmirrors:
|
||||||
- diff repo/index-v1.jar index-v1.jar
|
- diff repo/index-v1.jar index-v1.jar
|
||||||
|
|
||||||
Build documentation:
|
Build documentation:
|
||||||
image: debian:bullseye
|
image: debian:bullseye-backports
|
||||||
<<: *apt-template
|
<<: *apt-template
|
||||||
script:
|
script:
|
||||||
- apt-get install python3-pip make
|
- apt-get install make python3-sphinx python3-numpydoc python3-pydata-sphinx-theme pydocstyle fdroidserver
|
||||||
- pip install .[docs]
|
- apt purge fdroidserver
|
||||||
- pydocstyle fdroidserver
|
- pydocstyle fdroidserver
|
||||||
- cd docs
|
- cd docs
|
||||||
- sphinx-apidoc -o ./source ../fdroidserver -M -e
|
- sphinx-apidoc -o ./source ../fdroidserver -M -e
|
||||||
- sphinx-autogen -o generated source/*.rst
|
- PYTHONPATH=.. sphinx-autogen -o generated source/*.rst
|
||||||
- make html
|
- PYTHONPATH=.. make html
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- docs/build/html/
|
- docs/build/html/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue