summaryrefslogtreecommitdiff
path: root/doc/source/theme/sphinx_rtd_theme/searchbox.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source/theme/sphinx_rtd_theme/searchbox.html')
-rw-r--r--doc/source/theme/sphinx_rtd_theme/searchbox.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/source/theme/sphinx_rtd_theme/searchbox.html b/doc/source/theme/sphinx_rtd_theme/searchbox.html
new file mode 100644
index 00000000..35ad52c5
--- /dev/null
+++ b/doc/source/theme/sphinx_rtd_theme/searchbox.html
@@ -0,0 +1,9 @@
+{%- if builder != 'singlehtml' %}
+<div role="search">
+ <form id="rtd-search-form" class="wy-form" action="{{ pathto('search') }}" method="get">
+ <input type="text" name="q" placeholder="Search docs" />
+ <input type="hidden" name="check_keywords" value="yes" />
+ <input type="hidden" name="area" value="default" />
+ </form>
+</div>
+{%- endif %}