There was an error while loading. Please reload this page.
1 parent 50ed1ec commit 8fca439Copy full SHA for 8fca439
2 files changed
Doc/conf.py
@@ -306,6 +306,9 @@
306
# Path to find HTML templates to override theme
307
templates_path = ['tools/templates']
308
309
+# Link to sources on GitHub instead of copying them into the HTML output.
310
+html_copy_source = False
311
+
312
# Custom sidebar templates, filenames relative to this file.
313
html_sidebars = {
314
# Defaults taken from https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-html_sidebars
Doc/tools/templates/customsourcelink.html
@@ -1,4 +1,4 @@
1
-{%- if show_source and has_source and sourcename %}
+{%- if show_source and page_source_suffix is defined %}
2
<script>
3
document.addEventListener('DOMContentLoaded', () => {
4
const title = document.querySelector('meta[property="og:title"]').content;
0 commit comments