doc: Increase navigation depth in side nav bar

Increase navigation depth by 1 to enable "local" toc navigation in the
side bar for those pages that are deeper in the documentation tree.

Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
Benjamin Cabé 2024-08-23 14:42:20 +02:00 committed by Henrik Brix Andersen
parent 03d9f636ea
commit 145dbf820d

View File

@ -161,7 +161,8 @@ rst_epilog = f"""
html_theme = "sphinx_rtd_theme"
html_theme_options = {
"logo_only": True,
"prev_next_buttons_location": None
"prev_next_buttons_location": None,
"navigation_depth": 5,
}
html_baseurl = "https://docs.zephyrproject.org/latest/"
html_title = "Zephyr Project Documentation"