mirror of https://github.com/zulip/zulip.git
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:
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"
|
||||
|
|
Loading…
Reference in New Issue