From 1fdd034bab81534b3891f6bfa4f551375a9ab059 Mon Sep 17 00:00:00 2001 From: LE BRETON Come Date: Fri, 20 Sep 2024 16:01:16 +0200 Subject: [PATCH] Roll back --- .github/workflows/sphinx.yml | 1 + docs/source/conf.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml index 0254ac1cd..2829f2e70 100644 --- a/.github/workflows/sphinx.yml +++ b/.github/workflows/sphinx.yml @@ -39,6 +39,7 @@ jobs: source /builds/miniconda3/etc/profile.d/conda.sh conda activate corese-core-documentation sphinx-multiversion docs/source build/html -D 'exhale_args.containmentFolder=${sourcedir}/java_api' + cp docs/source/_static/switcher.json ./build/html - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 diff --git a/docs/source/conf.py b/docs/source/conf.py index 213addeec..fdbe21dd6 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -93,7 +93,7 @@ "icon": "fab fa-github-square" } ], - "switcher": {"json_url": "file:///Users/clebreto/programming/wimmics/corese-stack/corese-core/docs/source/_static/switcher.json", "version_match": r"v\d+\.\d+\.\d+"} + "switcher": {"json_url": "https://corese-stack.github.io/corese-core/switcher.json", "version_match": r"v\d+\.\d+\.\d+"} } # since the markdown files don't have TOC