mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
docs: Enable collapse_navigation for local builds.
This makes local builds significantly faster, while leaving the fancy navigation enabled on Read the Docs where it’s important. https://sphinx-rtd-theme.readthedocs.io/en/stable/configuring.html#confval-collapse_navigation Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
177dde15eb
commit
8d4568140c
@@ -43,7 +43,7 @@ myst_substitutions = {
|
||||
|
||||
html_theme = "sphinx_rtd_theme"
|
||||
html_theme_options = {
|
||||
"collapse_navigation": False,
|
||||
"collapse_navigation": not on_rtd, # makes local builds much faster
|
||||
"logo_only": True,
|
||||
}
|
||||
html_logo = "images/zulip-logo.svg"
|
||||
|
||||
Reference in New Issue
Block a user