Skip to content

Commit d48e6f9

Browse files
committed
fall back to real tags
1 parent 8442942 commit d48e6f9

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

.github/workflows/sphinx.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ jobs:
3333
- name: Add root index.html
3434
run: |
3535
cp docs/source/index.html docs/build/html/index.html
36-
- name: Copy latest version to stable
37-
run: |
38-
mkdir -p docs/build/html/stable
39-
cp -r docs/build/html/v1.0.0/* docs/build/html/stable/
4036
- name: Deploy docs (all versions + stable alias)
4137
uses: peaceiris/actions-gh-pages@v3
4238
if: github.ref == 'refs/heads/main'

docs/source/conf.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,4 @@
5555

5656
html_theme = "pydata_sphinx_theme"
5757
html_static_path = ['_static']
58-
html_title = "PySHRED"
59-
60-
smv_tag_whitelist = r'^v\d+\.\d+\.\d+$' # build all vX.Y.Z tags
61-
smv_branch_whitelist = r'^main$' # plus main branch
62-
smv_aliases = {
63-
"stable": r"^v\d+\.\d+\.\d+$", # newest tag becomes “stable”
64-
}
65-
smv_always_copy = True # copy instead of symlink – works anywhere
58+
html_title = "PySHRED"

0 commit comments

Comments
 (0)