Browse Source

Merge pull request #10194 from Piralein/layoutfix

Remove the new "switch-menu" in sidebartitle
Max Hilbrunner 8 tháng trước cách đây
mục cha
commit
df5976ae09
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      conf.py

+ 5 - 0
conf.py

@@ -170,6 +170,11 @@ html_theme_options = {
     "logo_only": True,
     # Collapse navigation (False makes it tree-like)
     "collapse_navigation": False,
+    # Remove version and language picker beneath the title
+    "version_selector": False,
+    "language_selector": False,
+    # Set Flyout menu to attached
+    "flyout_display": "attached",
 }
 
 html_title = supported_languages[language] % ( "(" + version + ")" )