Skip to content

Commit 91e294f

Browse files
Merge pull request #197 from thorinaboenke/fix/doc_generation
fix whitelisted remotes
2 parents 5d74909 + 39b571f commit 91e294f

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/publish-docs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v4
1818
with:
19-
fetch-depth: 0 # Crucial: sphinx-multiversion needs git history to find tags/branches
19+
fetch-depth: 0
20+
21+
- name: Fetch all branches
22+
run: git fetch origin '+refs/heads/*:refs/remotes/origin/*'
2023

2124
- name: Set up uv
2225
uses: astral-sh/setup-uv@v5

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
# Configure what branches/tags to include
2929
smv_tag_whitelist = r'^v?\d+\.\d+\.\d+$' # Includes tags like v1.0.0
3030
smv_branch_whitelist = r'^(main|development)$' # Includes the main branch
31-
smv_remote_whitelist = None # Only look at origin
31+
smv_remote_whitelist = r'^origin$' # Only look at origin
3232

3333
templates_path = ['_templates']
3434
exclude_patterns = [] # type: ignore

0 commit comments

Comments
 (0)