From 627b4a4fd3f30753d03ec0affe76b2d965e8e1c3 Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 17 Sep 2025 10:59:59 -0400 Subject: [PATCH] fix: Disable unnecessary RST source inclusion in HTML builds Disable inclusion of RST sources in HTML builds. This would normally be used if we we had the links for readers to view the RST source code. We don't and there's no point in doing so. - Already the case for the User Manual, but not the others; this makes it global across all manuals - No need to include RST source since we're not linking to it (i.e. we're not using `html_show_sourcelink` anywhere). Signed-off-by: Josh --- conf.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf.py b/conf.py index 921c68628..5b3343a9e 100644 --- a/conf.py +++ b/conf.py @@ -41,6 +41,9 @@ html_theme_options = { # relative path to subdirectories html_logo = "../_shared_assets/static/logo-white.png" +# disable including the reST sources in HTML builds (in _sources/) (default is True) +html_copy_source = False + # substitutions go here rst_epilog = '.. |version| replace:: %s' % version