diff options
author | Jonathan Corbet <corbet@lwn.net> | 2022-09-01 17:06:16 -0600 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2022-09-23 15:03:06 -0600 |
commit | 8f48742496142891400f0b8220156883463b9f65 (patch) | |
tree | c7e702a7aa86a8e5851810a24d9bead49e88f074 | |
parent | af2d20cdcdbc5851428bae2db261e30eb2f9f9f0 (diff) | |
download | lwn-8f48742496142891400f0b8220156883463b9f65.tar.gz lwn-8f48742496142891400f0b8220156883463b9f65.zip |
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.
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
-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 78dd6d1e7b88..22c9d4df1967 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -370,7 +370,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. |