Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

docs: style toctree captions as headings

The rtd theme already styles toctree captions as headings, but the
alabaster theme doesn't. Add this in.

Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Vegard Nossum <vegard.nossum@oracle.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20231027081830.195056-2-vegard.nossum@oracle.com

authored by

Vegard Nossum and committed by
Jonathan Corbet
eed94315 0bb80ecc

+3
+3
Documentation/sphinx-static/custom.css
··· 8 8 div.body h2 { font-size: 150%; } 9 9 div.body h3 { font-size: 130%; } 10 10 11 + /* toctree captions are styled like h2 */ 12 + div.toctree-wrapper p.caption[role=heading] { font-size: 150%; } 13 + 11 14 /* Tighten up the layout slightly */ 12 15 div.body { padding: 0 15px 0 10px; } 13 16 div.sphinxsidebarwrapper { padding: 1em 0.4em; }