From fd15eda1cf574d667fb04ebd2b51462ee8e7774e Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 31 Aug 2026 13:13:16 +0200 Subject: docs: prepare for pages deployment --- .gitlab-ci.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f72fb58c..7752705a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -87,3 +87,33 @@ license_check: name: docker.io/fsfe/reuse entrypoint: [""] script: reuse lint + +pages: + stage: deploy + image: registry.gitlab.ost.ch:45023/teachos/devcontainers/docs:latest + script: + - mkdir -p build/doxygen + - mkdir -p public/api public/dev + + - doxygen Doxyfile + - cp -r build/doxygen/html/* public/api + + - sphinx-build -b html docs public/dev + + - | + cat < public/index.html + +

TeachOS Documentation

+ + + EOF + artifacts: + paths: + - public + needs: + - license_check + rules: + - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH \ No newline at end of file -- cgit v1.2.3