From e66a5760b5186be238fba7950061242a5087bf82 Mon Sep 17 00:00:00 2001 From: David Runge Date: Thu, 30 Nov 2023 19:52:41 +0100 Subject: [PATCH] Integrate custom CSS for the HTML output Set a high priority for the custom CSS so that it is able to override theme CSS. Signed-off-by: David Runge --- book/source/conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/book/source/conf.py b/book/source/conf.py index 63b6dcd..2f9972d 100644 --- a/book/source/conf.py +++ b/book/source/conf.py @@ -48,6 +48,9 @@ epub_css_files = [ html_theme = 'alabaster' html_static_path = ['_static'] +html_css_files = [ + ('html/css/custom.css', {'priority': 1000}) +] html_show_sphinx = False html_show_copyright = False