add SOURCELINK_SUFFIX for compatibility with Sphinx 1.5

This commit is contained in:
Victor Zverovich 2018-01-28 20:20:39 -08:00
parent 768061c85e
commit a5185ec8d4

View File

@ -90,7 +90,8 @@
VERSION: '{{ release|e }}',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '{{ '' if no_search_suffix else file_suffix }}',
HAS_SOURCE: {{ has_source|lower }}
HAS_SOURCE: {{ has_source|lower }},
SOURCELINK_SUFFIX: '{{ sourcelink_suffix }}'
};
</script>
{%- for scriptfile in script_files %}