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 <josh.t.richards@gmail.com>
This commit is contained in:
Josh
2025-09-17 10:59:59 -04:00
committed by GitHub
parent c7a28815e6
commit 627b4a4fd3

View File

@@ -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