diff --git a/sphinx_rtd_theme/layout.html b/sphinx_rtd_theme/layout.html index e8d9b5f90..db5828fd3 100644 --- a/sphinx_rtd_theme/layout.html +++ b/sphinx_rtd_theme/layout.html @@ -170,7 +170,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 }}' }; {%- for scriptfile in script_files %} diff --git a/sphinx_rtd_theme/layout_old.html b/sphinx_rtd_theme/layout_old.html index deb8df2a1..f0dc2af65 100644 --- a/sphinx_rtd_theme/layout_old.html +++ b/sphinx_rtd_theme/layout_old.html @@ -91,7 +91,8 @@