Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c4054ba

Browse files
committed
DOC: Rearrange navbar-end elements
- mpl_icon_links to the very right, as in the base mpl_sphinx-theme - I would have liked the version-switcher to be on the very left, but somehow the search button is magically added there (note that we have not listed "search-button", but it still shows up). Since I don't have time to dig into that magic now, the minimal-effort reasonable- result change is the order > [search] [theme] [version-dropdown] [links]
1 parent de98877 commit c4054ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ def js_tag_with_cache_busting(js):
381381
"logo": {"link": "index",
382382
"image_light": "images/logo2.svg",
383383
"image_dark": "images/logo_dark.svg"},
384-
"navbar_end": ["version-switcher", "mpl_icon_links", "theme-switcher"]
384+
"navbar_end": ["theme-switcher", "version-switcher", "mpl_icon_links"]
385385
}
386386
include_analytics = is_release_build
387387
if include_analytics:

0 commit comments

Comments
 (0)