aboutsummaryrefslogtreecommitdiff
path: root/conf.py
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2022-04-01 16:55:26 +0200
committern-peugnet <n.peugnet@free.fr>2022-04-01 16:55:26 +0200
commitf13800c3fc4a1e867f4b14399d94889540f91b29 (patch)
treebcbb43c7c24b0bbc5e38e0a5f508ef72434f587b /conf.py
parent30e3de8a7c14c9f22f07be80b5f69bc0b40028d7 (diff)
downloadclub1-docs-f13800c3fc4a1e867f4b14399d94889540f91b29.tar.gz
club1-docs-f13800c3fc4a1e867f4b14399d94889540f91b29.zip
feat: do not copy source to website, as theses are not usedn-peugnet-do-not-add-sources
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 = {