Skip to content

Commit 1cce7d3

Browse files
committed
Merge pull request #8086 from mitya57/master
DOC: add SOURCELINK_SUFFIX for compatibility with Sphinx 1.5
1 parent f7865d3 commit 1cce7d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/_templates/layout.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ <h3>{{ _('Navigation') }}</h3>
8282
VERSION: '{{ release|e }}',
8383
COLLAPSE_INDEX: false,
8484
FILE_SUFFIX: '{{ '' if no_search_suffix else file_suffix }}',
85-
HAS_SOURCE: {{ has_source|lower }}
85+
HAS_SOURCE: {{ has_source|lower }},
86+
SOURCELINK_SUFFIX: '{{ sourcelink_suffix }}'
8687
};
8788
</script>
8889
{%- for scriptfile in script_files %}

0 commit comments

Comments
 (0)