Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit de72808

Browse files
authored
Merge pull request #8086 from mitya57/master
DOC: add SOURCELINK_SUFFIX for compatibility with Sphinx 1.5
2 parents f697e8c + 53e6bc4 commit de72808

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)