mirror of
https://github.com/nextcloud/documentation.git
synced 2025-12-12 07:29:47 +07:00
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:
3
conf.py
3
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user