diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4f592f4..4e9e580 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,6 +12,20 @@ variables: NEXUS_PROJECT_DIR: red # subfolder in Nexus docker-gin where your container will be stored IMAGENAME: $CI_PROJECT_NAME # if the project URL is gitlab.example.com/group-name/project-1, CI_PROJECT_NAME is project-1 +pages: + stage: unit-tests + before_script: + - !reference [.activate-venv, script] + script: + - sphinx-apidoc ./src -o ./docs/source/modules --no-toc --module-first --follow-links --separate --force + - sphinx-build -b html docs/source/ public/ -E -a + artifacts: + paths: + - public + # only: + # - main + + stages: - data - setup