From df0c593bae69a232fb054a33a3c932187c48f935 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Fri, 25 Jun 2021 13:50:03 -0700 Subject: Gitlab-CI Configuration for Documentation Builds Uses the Anuket Releng template for RTD (Sphinx) builds of the documentation. Moves the requirements file under 'docs/'. This can be moved back once the RTD template has been updated to allow setting the location of requirements.txt outside of docs/ Signed-off-by: Trevor Bramwell --- .gitlab-ci.yml | 13 +++++++++++-- docs/requirements.txt | 8 ++++++++ etc/requirements.txt | 8 -------- 3 files changed, 19 insertions(+), 10 deletions(-) create mode 100644 docs/requirements.txt delete mode 100644 etc/requirements.txt diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1bc0893c3..112bd39cf 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,12 @@ -# This file is a template, and might need editing before it works on your project. +# Docs jobs +# +# On Merge requests, tags and merges: +# - Run tox +# - Build documentation +# On Merges and Pull Requests: +# - Run code quality analysis +--- include: - template: Jobs/Code-Quality.gitlab-ci.yml + - template: Jobs/Code-Quality.gitlab-ci.yml + - project: anuket-transition/releng + file: '/gitlab-templates/RTD.gitlab-ci.yml' diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 000000000..734f07f97 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,8 @@ +tox +Sphinx==1.5.6 +doc8 +docutils==0.12 +setuptools +six +sphinxcontrib-httpdomain +sphinx_bootstrap_theme>=0.4.11 diff --git a/etc/requirements.txt b/etc/requirements.txt deleted file mode 100644 index 734f07f97..000000000 --- a/etc/requirements.txt +++ /dev/null @@ -1,8 +0,0 @@ -tox -Sphinx==1.5.6 -doc8 -docutils==0.12 -setuptools -six -sphinxcontrib-httpdomain -sphinx_bootstrap_theme>=0.4.11 -- cgit 1.2.3-korg