Skip to content

Commit 5ed9553

Browse files
committed
fix whitelisted remotes
1 parent 79662f7 commit 5ed9553

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/publish-docs.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v4
1818
with:
19-
fetch-depth: 0 # Crucial: sphinx-multiversion needs git history to find tags/branches
20-
19+
fetch-depth: 0
2120
- name: Set up uv
2221
uses: astral-sh/setup-uv@v5
2322
with:

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)