From 27c2b0aee61339fc6e3560ee074f3012743539c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rajmund=20Hru=C5=A1ka?= <rajmund.hruska@gmail.com> Date: Wed, 14 Jun 2023 10:15:06 +0200 Subject: [PATCH] Add docs for submodules --- .gitlab-ci.yml | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 096c6f93..9effc905 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -97,6 +97,7 @@ twine-job: pages: stage: deploy script: + - git submodule sync && git submodule update - make docs # Build documentation - for branch in devel master release; do curl -L --header "JOB-TOKEN:$CI_JOB_TOKEN" "$CI_API_V4_URL/projects/$CI_PROJECT_ID/jobs/artifacts/$branch/download?job=pages" -o $branch.zip; done # Download the documentation from devel, master and release branches - unzip -o '*.zip' || true # Unzip downloaded documentation while ignoring not existing files diff --git a/Makefile b/Makefile index 0fe8a626..8868f52a 100644 --- a/Makefile +++ b/Makefile @@ -223,7 +223,7 @@ deps-vagrant: deps-prerequisites deps-runenv deps-python-dev deps-python deps-ed clean: clean-pycs clean-build-docs clean-build-python clean-build-debian -docs: docs-sphinx +docs: docs-sync docs-sphinx check: pyflakes pylint test -- GitLab