From 8aa6b46bb999b9f895d1df3db241177de0463294 Mon Sep 17 00:00:00 2001 From: rfprod Date: Thu, 5 Nov 2026 23:54:29 +0400 Subject: [PATCH] ci(pages): fix documentation deployment to github pages - [x] remove `--clean` flag from the `gh-pages` coverage build step; - [x] set `collapse_navigation` to `False` in the `Sphinx` options; - [x] set `navigation_depth` to `4` to show deeper navigation sections; --- .github/workflows/gh-pages.yml | 2 +- docs/conf.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 6502363..830d228 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -92,7 +92,7 @@ jobs: if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request' run: | source .venv/bin/activate - bash ./tools/shell/build.sh --clean --tests --coverage --no-run + bash ./tools/shell/build.sh --tests --coverage --no-run mkdir -p build/site/coverage cp -r build/Debug/coverage/. build/site/coverage/ deactivate diff --git a/docs/conf.py b/docs/conf.py index 3dfdb99..30699c4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -11,3 +11,7 @@ breathe_default_project = "cpp-workspace" html_theme = "sphinx_rtd_theme" +html_theme_options = { + "collapse_navigation": False, + "navigation_depth": 4, +}