Skip to content

Commit

Permalink
Update build_doc.yml (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
gschramm authored Nov 15, 2024
1 parent b403fa0 commit f98c2aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ jobs:

- name: Build master docs
if: env.build_context == 'master'
run: sphinx-multiversion docs/source _build/html --branch master
run: sphinx-multiversion docs/source _build/html -D "smv_tag_whitelist=None" -D "smv_branch_whitelist=master"

- name: Build tagged version docs
if: env.build_context == 'tag'
run: |
tag=${{ github.ref_name }}
sphinx-multiversion docs/source _build/html --tag $tag
sphinx-multiversion docs/source _build/html -D "smv_tag_whitelist=$tag" -D "smv_branch_whitelist=None"
- name: Create index.html redirect
if: env.build_context != 'pr'
Expand Down

0 comments on commit f98c2aa

Please sign in to comment.