<div dir="ltr">We could also fix this issue by updating sphinx to a newer version.<div>But this patch will not break anything even if updated to the newer version.</div></div><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 22, 2020 at 5:35 PM G S Niteesh Babu <<a href="mailto:niteesh.gs@gmail.com" target="_blank">niteesh.gs@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This patch fixes the search field which previously was not working<br>
due to this commit 71dd8bfbf94417ad55b2444e1dbd219db266f335 in<br>
sphinx.<br>
---<br>
common/sphinx_rtd_theme_rtems/layout.html | 3 ++-<br>
common/sphinx_rtd_theme_rtems/layout_old.html | 3 ++-<br>
2 files changed, 4 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/common/sphinx_rtd_theme_rtems/layout.html b/common/sphinx_rtd_theme_rtems/layout.html<br>
index 44978c9..ca63b80 100644<br>
--- a/common/sphinx_rtd_theme_rtems/layout.html<br>
+++ b/common/sphinx_rtd_theme_rtems/layout.html<br>
@@ -167,7 +167,8 @@<br>
VERSION:'{{ release|e }}',<br>
COLLAPSE_INDEX:false,<br>
FILE_SUFFIX:'{{ '' if no_search_suffix else file_suffix }}',<br>
- HAS_SOURCE: {{ has_source|lower }}<br>
+ HAS_SOURCE: {{ has_source|lower }},<br>
+ SOURCELINK_SUFFIX: '{{ sourcelink_suffix }}'<br>
};<br>
</script><br>
{%- for scriptfile in script_files %}<br>
diff --git a/common/sphinx_rtd_theme_rtems/layout_old.html b/common/sphinx_rtd_theme_rtems/layout_old.html<br>
index deb8df2..f0dc2af 100644<br>
--- a/common/sphinx_rtd_theme_rtems/layout_old.html<br>
+++ b/common/sphinx_rtd_theme_rtems/layout_old.html<br>
@@ -91,7 +91,8 @@<br>
VERSION: '{{ release|e }}',<br>
COLLAPSE_INDEX: false,<br>
FILE_SUFFIX: '{{ '' if no_search_suffix else file_suffix }}',<br>
- HAS_SOURCE: {{ has_source|lower }}<br>
+ HAS_SOURCE: {{ has_source|lower }},<br>
+ SOURCELINK_SUFFIX: '{{ sourcelink_suffix }}'<br>
};<br>
</script><br>
{%- for scriptfile in script_files %}<br>
-- <br>
2.17.1<br>
<br>
</blockquote></div>