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
+7-1Lines changed: 7 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,11 +68,17 @@ python run.py build
68
68
python run.py build-docs
69
69
```
70
70
71
-
> ***Note: When releasing a new version, update ``switcher.json`` in ``docs/source/_static/`` to include the new tag in the version dropdown for documentation.***
71
+
The documentation version switcher (`switcher.json`) is automatically generated from git tags and `version.json` during the build process.
72
72
73
73
Options:
74
74
-`--skip-build` (`-s`): Skip building before generating docs
75
75
-`--local` (`-l`): Build documentation locally for a single version (skips multi-version build)
76
+
-`--skip-switcher`: Skip generating switcher.json (useful for offline builds or custom switcher configurations)
77
+
78
+
**Debug command:** To manually generate `switcher.json` without building docs:
79
+
```sh
80
+
python run.py generate-switcher
81
+
```
76
82
77
83
The documentation can be accessed locally by serving the docs/build/html/ folder:
0 commit comments