Publish docu to GL Pages

This commit is contained in:
Benedikt Brückmann 2021-05-10 07:50:45 +02:00 committed by Hans-Christoph Steiner
parent 47cd1dd055
commit bdcd843d75
2 changed files with 18 additions and 6 deletions

View File

@ -423,4 +423,16 @@ Build documentation:
- make html
artifacts:
paths:
- docs/build/html/
- docs/build/html/
pages:
image: alpine:latest
stage: deploy
script:
- cp docs/build/html public -r # GL Pages needs the files in a directory named "public"
artifats:
paths:
- public
needs: ["Build documentation"]
#rules: # TODO: activate before merge
# - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' # only publish pages on default (master) branch

View File

@ -9,12 +9,12 @@ Welcome to fdroidserver's documentation!
.. toctree::
:maxdepth: 2
:caption: Contents:
These pages contain the autogenerated module docu based on the current `sources <https://gitlab.com/fdroid/fdroidserver/-/tree/master/fdroidserver>`_.
Indices and tables
==================
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
* Under :ref:`modindex` the different fdroidserver modules are listed.
* In :ref:`genindex` you'll find all methods sorted alphabetically.