diff --git a/docs/conf.py b/docs/conf.py index f21ba172be348fc09338f068d37670e353b19737..f5ac09335b8f1140f158ac8374def39444c84d0c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -114,7 +114,19 @@ html_theme_options = { theme provided by Executable Books Project. - """ + """, + "navbar_start": [ + "navbar-logo", + "version-switcher" + ], + "switcher": { + "json_url": "https://pages.openeuler.openatom.cn/openyuanrong/docs/versions.json", + "version_match": "latest", + }, +} + +html_sidebars = { + "**": ["search-button-field.html", "sbt-sidebar-nav.html"] } # -----------------------------------------------------------------------------