Skip to content

Commit 627b4a4

Browse files
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>
1 parent c7a2881 commit 627b4a4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
# relative path to subdirectories
4242
html_logo = "../_shared_assets/static/logo-white.png"
4343

44+
# disable including the reST sources in HTML builds (in _sources/) (default is True)
45+
html_copy_source = False
46+
4447
# substitutions go here
4548
rst_epilog = '.. |version| replace:: %s' % version
4649

0 commit comments

Comments
 (0)