diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ee9d66e12..25ad2705e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -82,7 +82,7 @@ review_docs: - git switch stable - git switch $CI_COMMIT_BRANCH script: - - ./build_docs.sh + - poetry run python -m sphinx . $BUILD_PATH cache: key: "$CI_PROJECT_ID__sphinx" paths: diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 66f450931..6e9bbe451 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -2,7 +2,7 @@ {% block document %} - {% if current_version.name == "develop" %} + {% if current_version and current_version.name == "develop" %}

Warning

This documentation only applies for the development version of diff --git a/public/index.html b/public/index.html new file mode 100644 index 000000000..e4927a5d3 --- /dev/null +++ b/public/index.html @@ -0,0 +1,17 @@ + + + + + + + + Page Redirection + + + + If you are not redirected automatically, follow this link. + + +