We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14d9d5c commit 3f2b8b0Copy full SHA for 3f2b8b0
docs/source/conf.py
@@ -144,6 +144,20 @@ def get_years(start_year=2021):
144
# a list of builtin themes.
145
html_theme = "pydata_sphinx_theme"
146
147
+html_context = {
148
+ "default_mode": "light",
149
+ "switcher": {
150
+ "version_match": "latest", # Adjust this dynamically per version
151
+ "versions": [
152
+ ("latest", "/latest/"),
153
+ ("v0.2.0", "/v0.2.0/"),
154
+ ("v0.3.0", "/v0.3.0/"),
155
+ ("v0.4.0", "/v0.4.0/"),
156
+ ("v0.5.0rc1", "/v0.5.0rc1/"),
157
+ ],
158
+ },
159
+}
160
+
161
# More info on theme options:
162
# https://pydata-sphinx-theme.readthedocs.io/en/latest/user_guide/configuring.html
163
html_theme_options = {
0 commit comments