File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -89,20 +89,25 @@ html_theme = "sphinx_book_theme"
8989html_static_path = ["_static"]
9090html_css_files = ["css/custom.css"]
9191
92+ # conf.py
93+
94+ html_context = {
95+ "default_mode": "light", # Enforces light mode on page load
96+ }
97+
9298html_theme_options = {
9399 "repository_url": "{{repository_url}}",
100+ "repository_branch": "{{repository_branch}}",
101+ "path_to_docs": "docs",
94102 "use_repository_button": False,
95103 "use_issues_button": False,
96104 "use_edit_page_button": False,
97- "path_to_docs": "docs",
98- "repository_branch": "{{repository_branch}}",
99105 "home_page_in_toc": False,
100106 "navigation_with_keys": False,
101107 "use_fullscreen_button": False,
102108 "show_navbar_depth": 1,
103109 "theme_dev_mode": False,
104110 "launch_buttons": {},
105- "default_mode": "light",
106111 "switcher": False,
107112 "search_bar_text": "",
108113 "search_bar_position": "none",
You can’t perform that action at this time.
0 commit comments