Skip to content

Commit 8ff4082

Browse files
committed
Tune HTML theme parameters
Borrow two changes from the Linux kernel alabaster theme configuration: - Make the sidebar fixed, for easier navigation. - Change the font family to serif, to make the HTML visually closer to the pdf, and arguably a bit easier to read. Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com>
1 parent 2ea7d2b commit 8ff4082

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

source/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@
9494
# further. For a list of options available for each theme, see the
9595
# documentation.
9696
#
97-
# html_theme_options = {}
97+
html_theme_options = {
98+
"fixed_sidebar": "true",
99+
"font_family": "serif",
100+
}
98101

99102
# Add any paths that contain custom static files (such as style sheets) here,
100103
# relative to this directory. They are copied after the builtin static files,

0 commit comments

Comments
 (0)