summaryrefslogtreecommitdiffstats
path: root/Documentation/conf.py
diff options
context:
space:
mode:
authorJonathan Corbet <corbet@lwn.net>2022-09-27 01:48:59 +0200
committerJonathan Corbet <corbet@lwn.net>2022-10-13 19:14:31 +0200
commit2056b920c615566084cd9aa105b54b62a516161e (patch)
treeaacc0e3e98a7a3dbef2a03ca12257e67f6261cb5 /Documentation/conf.py
parentdocs: Switch the default HTML theme to alabaster (diff)
downloadlinux-2056b920c615566084cd9aa105b54b62a516161e.tar.xz
linux-2056b920c615566084cd9aa105b54b62a516161e.zip
docs: tweak some Alabaster style parameters
This is just the beginning: tighten up the layout a bit to improve the information density in the browser. Also reconfigure the page width in terms of character units (em) rather than pixels, making it more display-independent. To that end, add a custom.css file to tweak Alabaster CSS settings. Acked-by: Mauro Carvalho Chehab <mchehab@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/conf.py')
-rw-r--r--Documentation/conf.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/conf.py b/Documentation/conf.py
index 629f4afeb0eb..1dbf3d6a55de 100644
--- a/Documentation/conf.py
+++ b/Documentation/conf.py
@@ -345,6 +345,9 @@ if html_theme == 'classic':
else:
html_theme_options = {
'description': get_cline_version(),
+ 'font_size': '10pt',
+ 'page_width': '65em',
+ 'sidebar_width': '15em',
}
sys.stderr.write("Using %s theme\n" % html_theme)