OSDN Git Service

docs: Add more information to the HTML sidebar
authorJonathan Corbet <corbet@lwn.net>
Fri, 20 Jan 2023 00:03:05 +0000 (17:03 -0700)
committerJonathan Corbet <corbet@lwn.net>
Wed, 8 Feb 2023 20:28:27 +0000 (13:28 -0700)
commitc404f5d4f0993e9d75a4de5a91280e9cb2419281
tree2f68fd709a0c3202250e9eadf29f46e55b7d4e8e
parentfbabc2eaef9fd761315c0edb2d281e9f3e9db9b7
docs: Add more information to the HTML sidebar

Add a new sidebar template that creates a more RTD-like "fisheye" view of
the current place in the document hierarchy.  It is far from ideal, but
some readers may find it better for navigating through the documentation as
a whole.

Add some CSS trickery as well to make the table of contents less intrusive
when viewing the pages on a small screen.

Reviewed-by: Akira Yokosawa <akiyks@gmail.com>
Reviewed-by: David Gow <davidgow@google.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/conf.py
Documentation/sphinx-static/custom.css
Documentation/sphinx/templates/kernel-toc.html [new file with mode: 0644]