Skip to content

Commit 8c72640

Browse files
committed
Add version switch drop-down to docs header
1 parent 4f06dee commit 8c72640

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

docs/source/conf.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,13 @@
144144
# further. For a list of options available for each theme, see the
145145
# documentation.
146146
#
147-
# html_theme_options = {}
147+
html_theme_options = {
148+
"switcher": {
149+
"json_url": "https://bluesky.github.io/blop/switcher.json",
150+
"version_match": version,
151+
},
152+
"navbar_end": ["version-switcher", "theme-switcher", "navbar-icon-links"],
153+
}
148154

149155
# Add any paths that contain custom static files (such as style sheets) here,
150156
# relative to this directory. They are copied after the builtin static files,

0 commit comments

Comments
 (0)