提交 219d9d51 编写于 作者: Y Yu Yang

Fix document search in sphinx

* It because we using a old version of theme, but sphinx is up to date.
Manually add field in layout.html.

* Fix #1904
上级 ddc2c6ef
......@@ -168,7 +168,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: ".txt",
};
</script>
{%- for scriptfile in script_files %}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册