From 145dbf820d560669da95e730fccc3ec58dcee5f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Fri, 23 Aug 2024 14:42:20 +0200 Subject: [PATCH] doc: Increase navigation depth in side nav bar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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é --- doc/conf.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/conf.py b/doc/conf.py index 4d3e2d8b5c0..8359d3d4049 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -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"