diff options
author | Jonathan Corbet <[email protected]> | 2022-09-27 10:05:55 -0600 |
---|---|---|
committer | Jonathan Corbet <[email protected]> | 2022-09-29 12:55:06 -0600 |
commit | 3aa024e4e91249524e1342a6790bb561fbea89a4 (patch) | |
tree | bd2b84cfa131457b88fdaa765efa3d017c46b92d | |
parent | 0c7b4366f1ab955f0b8411c14e764d75e21e1a1c (diff) |
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 <[email protected]>
Acked-by: Jani Nikula <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
Acked-by: Randy Dunlap <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Corbet <[email protected]>
-rw-r--r-- | Documentation/conf.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py index cdcc8e0f46a6..c45a3b7f7717 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. |