Re: [PATCH 2/2] Documentation: html: make sidebar section titles bold

From: Randy Dunlap

Date: Mon Aug 03 2026 - 13:24:47 EST




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 <antonin.godard@xxxxxxxxxxx>

LGTM. Thanks.

Reviewed-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
Tested-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

> ---
> 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