From 40c2b6d271d07a8e5f3dc7e788d0d77c63455ad9 Mon Sep 17 00:00:00 2001 From: "C.A.P. Linssen" Date: Mon, 2 Dec 2024 11:08:33 -0800 Subject: [PATCH] add readthedocs yaml configuration file --- doc/conf.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 4a55c3d3..f708797e 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -196,6 +196,12 @@ # so a file named "default.css" will overwrite the builtin "default.css". html_static_path = ['css', 'fig'] +# These paths are either relative to html_static_path +# or fully qualified paths (eg. https://...) +html_css_files = [ + 'css/custom.css' +] + # -- Options for HTMLHelp output ------------------------------------------ # Output file base name for HTML help builder. @@ -217,8 +223,6 @@ def skip(app, what, name, obj, would_skip, options): return would_skip def setup(app): - app.add_css_file('css/custom.css') - app.add_css_file('css/pygments.css') app.connect("autodoc-skip-member", skip) # -- Options for LaTeX output ---------------------------------------------