From: Jonathan Corbet Date: Tue, 27 Sep 2022 16:05:55 +0000 (-0600) Subject: docs: reconfigure the HTML left column X-Git-Tag: v6.6.17~6366^2~21^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3aa024e4e91249524e1342a6790bb561fbea89a4;p=platform%2Fkernel%2Flinux-rpi.git docs: reconfigure the HTML left column Use the html_sidebars directive to get a more useful set of links in the left column. Unfortunately, this is a no-op with the default RTD theme, but others observe it. Reviewed-by: David Vernet Acked-by: Jani Nikula Signed-off-by: Jonathan Corbet Acked-by: Randy Dunlap Link: https://lore.kernel.org/r/20220927160559.97154-4-corbet@lwn.net Signed-off-by: Jonathan Corbet --- diff --git a/Documentation/conf.py b/Documentation/conf.py index cdcc8e0..c45a3b7 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -369,7 +369,8 @@ html_static_path = ['sphinx-static'] html_use_smartypants = False # Custom sidebar templates, maps document names to template names. -#html_sidebars = {} +# Note that the RTD theme ignores this. +html_sidebars = { '**': ['searchbox.html', 'localtoc.html', 'sourcelink.html']} # Additional templates that should be rendered to pages, maps page names to # template names.