There was an error while loading. Please reload this page.
2 parents 5d74909 + 39b571f commit 91e294fCopy full SHA for 91e294f
2 files changed
.github/workflows/publish-docs.yml
@@ -16,7 +16,10 @@ jobs:
16
steps:
17
- uses: actions/checkout@v4
18
with:
19
- fetch-depth: 0 # Crucial: sphinx-multiversion needs git history to find tags/branches
+ fetch-depth: 0
20
+
21
+ - name: Fetch all branches
22
+ run: git fetch origin '+refs/heads/*:refs/remotes/origin/*'
23
24
- name: Set up uv
25
uses: astral-sh/setup-uv@v5
docs/source/conf.py
@@ -28,7 +28,7 @@
28
# Configure what branches/tags to include
29
smv_tag_whitelist = r'^v?\d+\.\d+\.\d+$' # Includes tags like v1.0.0
30
smv_branch_whitelist = r'^(main|development)$' # Includes the main branch
31
-smv_remote_whitelist = None # Only look at origin
+smv_remote_whitelist = r'^origin$' # Only look at origin
32
33
templates_path = ['_templates']
34
exclude_patterns = [] # type: ignore
0 commit comments