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