Re: [PATCH 2/2] Documentation: html: make sidebar section titles bold
Randy Dunlap <[email protected]> Mon, 3 Aug 2026 10:20:52 -0700
| Newsgroups | org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On 8/3/26 7:35 AM, Antonin Godard wrote: > Now that section titles are displayed in the sidebar, make them bold to > have them stand out compared to the subsection titles. > > Signed-off-by: Antonin Godard <[email protected]> LGTM. Thanks. Reviewed-by: Randy Dunlap <[email protected]> Tested-by: Randy Dunlap <[email protected]> > --- > Documentation/sphinx-static/custom.css | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/Documentation/sphinx-static/custom.css b/Documentation/sphinx-static/custom.css > index 0576d4fcb2a3..3938daf410c3 100644 > --- a/Documentation/sphinx-static/custom.css > +++ b/Documentation/sphinx-static/custom.css > @@ -81,6 +81,11 @@ div.kerneltoc li.current ul { background-color: white; } > */ > section#the-linux-kernel-documentation p.caption { display: none; } > > +/* > + * Make section titles bold in the sidebar. > + */ > +div.sphinxsidebar p.caption { font-weight: bold; } > + > /* > * The CSS magic to toggle the contents on small screens. > */ > -- ~Randy