Skip to content

Commit 3d52181

Browse files
committed
Show documentation page actions when source exists
Simplification, there's no need to rely on html_show_sourcelink Sphinx configuration
1 parent 5c34393 commit 3d52181

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/tools/templates/customsourcelink.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{%- if show_source and page_source_suffix is defined %}
1+
{%- if page_source_suffix is defined %}
22
<script>
33
document.addEventListener('DOMContentLoaded', () => {
44
const title = document.querySelector('meta[property="og:title"]').content;

0 commit comments

Comments
 (0)