Skip to content

Commit 3aa024e

Browse files
author
Jonathan Corbet
committed
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 <void@manifault.com> Acked-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Acked-by: Randy Dunlap <rdunlap@infradead.org> Link: https://lore.kernel.org/r/20220927160559.97154-4-corbet@lwn.net Signed-off-by: Jonathan Corbet <corbet@lwn.net>
1 parent 0c7b436 commit 3aa024e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Documentation/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,8 @@ def have_command(cmd):
369369
html_use_smartypants = False
370370

371371
# Custom sidebar templates, maps document names to template names.
372-
#html_sidebars = {}
372+
# Note that the RTD theme ignores this.
373+
html_sidebars = { '**': ['searchbox.html', 'localtoc.html', 'sourcelink.html']}
373374

374375
# Additional templates that should be rendered to pages, maps page names to
375376
# template names.

0 commit comments

Comments
 (0)