From b403fa03fb0b84289c71554ec14bb1b9addd9d36 Mon Sep 17 00:00:00 2001 From: Georg Schramm <40211162+gschramm@users.noreply.github.com> Date: Fri, 15 Nov 2024 10:00:31 +0100 Subject: [PATCH] Update build_doc.yml (#100) --- .github/workflows/build_doc.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_doc.yml b/.github/workflows/build_doc.yml index 497f2cf6..20f13ef4 100644 --- a/.github/workflows/build_doc.yml +++ b/.github/workflows/build_doc.yml @@ -48,13 +48,13 @@ jobs: - name: Build master docs if: env.build_context == 'master' - run: sphinx-build -E docs/source _build/html/master + run: sphinx-multiversion docs/source _build/html --branch master - name: Build tagged version docs if: env.build_context == 'tag' run: | tag=${{ github.ref_name }} - sphinx-build -E docs/source _build/html/$tag + sphinx-multiversion docs/source _build/html --tag $tag - name: Create index.html redirect if: env.build_context != 'pr'