You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ python run.py build
68
68
python run.py build-docs
69
69
```
70
70
71
-
The documentation version switcher (`switcher.json`) is automatically generated from git tags during the build process. Only tagged versions are included by default to ensure all links work correctly.
71
+
The documentation version switcher (`switcher.json`) is automatically generated from git tags matching the `vX.Y.Z` format during the build process. Only tagged versions are included by default to ensure all links work correctly.
72
72
73
73
Options:
74
74
-`--skip-build` (`-s`): Skip building before generating docs
@@ -118,10 +118,11 @@ python -m http.server 8000
118
118
Then open http://localhost:8000 in your browser. The root automatically redirects to the latest version documentation.
119
119
120
120
**Versioned Documentation:**
121
-
- Each git tag creates a separate documentation version (e.g., `/v26.0.5/`)
121
+
- Each git tag matching `vX.Y.Z`creates a separate documentation version (e.g., `/v26.0.5/`)
122
122
- A `/latest/` directory points to the newest version
123
123
- Root (`/`) automatically redirects to `/latest/`
124
124
- Run `git fetch --tags` before building to ensure all version tags are available
125
+
- If no version tags matching `vX.Y.Z` are found in the repository, the build automatically falls back to a single-version Sphinx build instead of attempting the multi-version build
0 commit comments