From bdcd843d75a529850322876a935ccea4bbb4b292 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benedikt=20Br=C3=BCckmann?= <64bit+git@posteo.de> Date: Mon, 10 May 2021 07:50:45 +0200 Subject: [PATCH] Publish docu to GL Pages --- .gitlab-ci.yml | 14 +++++++++++++- docs/source/index.rst | 10 +++++----- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a8413e21..de9523c0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -423,4 +423,16 @@ Build documentation: - make html artifacts: paths: - - docs/build/html/ \ No newline at end of file + - 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 \ No newline at end of file diff --git a/docs/source/index.rst b/docs/source/index.rst index 33280932..fcd4dfe3 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -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 `_. 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.