summaryrefslogtreecommitdiff
path: root/sphinx_rtd/searchbox.html
diff options
context:
space:
mode:
authorJordan Wiens <jordan@psifertex.com>2021-09-30 12:59:15 -0400
committerJordan Wiens <jordan@psifertex.com>2021-09-30 12:59:15 -0400
commit3df3c68c3fb9ddf6c4f8c341ff6670703c6e28b6 (patch)
tree193bda1a8e4c4640a77269cd186e9795893481d9 /sphinx_rtd/searchbox.html
parent59adff1fffb5fe9b9c7813dda84b3abec96d8c50 (diff)
minimizing api documentation for faster builds and version updates
Diffstat (limited to 'sphinx_rtd/searchbox.html')
-rw-r--r--sphinx_rtd/searchbox.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/sphinx_rtd/searchbox.html b/sphinx_rtd/searchbox.html
new file mode 100644
index 00000000..bc3ee5f0
--- /dev/null
+++ b/sphinx_rtd/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') }}" />
+ <input type="hidden" name="check_keywords" value="yes" />
+ <input type="hidden" name="area" value="default" />
+ </form>
+</div>
+{%- endif %}