aboutsummaryrefslogtreecommitdiff
path: root/conf.py
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2022-04-01 16:55:26 +0200
committerNicolas Peugnet <n.peugnet@free.fr>2022-04-01 16:56:42 +0200
commitb54977894e97e872caf96d095dfdc0abe71e0d18 (patch)
treebcbb43c7c24b0bbc5e38e0a5f508ef72434f587b /conf.py
parent30e3de8a7c14c9f22f07be80b5f69bc0b40028d7 (diff)
downloadclub1-docs-b54977894e97e872caf96d095dfdc0abe71e0d18.tar.gz
club1-docs-b54977894e97e872caf96d095dfdc0abe71e0d18.zip
feat: do not copy source to website, as theses are not used
Diffstat (limited to 'conf.py')
-rw-r--r--conf.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf.py b/conf.py
index 043a8c6..01d333c 100644
--- a/conf.py
+++ b/conf.py
@@ -88,6 +88,11 @@ smartquotes = False
# a list of builtin themes.
html_theme = 'sphinx_rtd_theme'
+# Do not copy source as the link to view source as been replaced by a link to
+# GitHub.
+html_copy_source = False
+
+# Only show source link for french docs as other languages are stored in .po.
html_show_sourcelink = language == 'fr'
html_context = {