File tree Expand file tree Collapse file tree 4 files changed +7
-15
lines changed
Expand file tree Collapse file tree 4 files changed +7
-15
lines changed Original file line number Diff line number Diff line change 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
3640 - name : Deploy docs (all versions + stable alias)
3741 uses : peaceiris/actions-gh-pages@v3
3842 if : github.ref == 'refs/heads/main'
Original file line number Diff line number Diff line change 11[
2- {
3- "version" : " main" ,
4- "url" : " /pyshred/main/"
5- },
6- {
7- "version" : " stable" ,
8- "url" : " /pyshred/stable/"
9- },
102 {
113 "version" : " v1.0.0" ,
124 "url" : " /pyshred/v1.0.0/"
Original file line number Diff line number Diff line change @@ -45,12 +45,7 @@ <h1>Welcome to the PySHRED documentation</h1>
4545 < p > Select a version of the documentation:</ p >
4646 < ul >
4747 < li >
48- < a href ="main/index.html "> Main (development)</ a > — Latest development
49- build.
50- </ li >
51- < li > < a href ="stable/index.html "> Stable</ a > — Latest official release.</ li >
52- < li >
53- < a href ="v1.0.0/index.html "> v1.0.0</ a > — Specific version release.
48+ < a href ="v1.0.0/index.html "> v1.0.0</ a >
5449 </ li >
5550 </ ul >
5651 </ body >
Original file line number Diff line number Diff line change @@ -3,5 +3,6 @@ Release Notes
33
44.. toctree ::
55 :maxdepth: 1
6+ :glob:
67
7- v1_0_0
8+ v1_0_0
You can’t perform that action at this time.
0 commit comments