summaryrefslogtreecommitdiffstats
path: root/common/sphinx_rtd_theme_rtems/searchbox.html
diff options
context:
space:
mode:
authorAmar Takhar <amar@rtems.org>2016-01-19 20:37:04 -0500
committerAmar Takhar <verm@darkbeer.org>2016-05-02 20:51:25 -0400
commita316b1ff6d765fe0d3631282e750c94470612e97 (patch)
tree577d0a4cd9659c9834d39eb944a9d662d4f6f2dd /common/sphinx_rtd_theme_rtems/searchbox.html
parentFix typo and add another dependency. (diff)
downloadrtems-docs-a316b1ff6d765fe0d3631282e750c94470612e97.tar.bz2
Add support for singlehtml (inlined) HTML file, plus some other fixes.
* This is still broken. * Rename sphinx_rtd_theme so it doesn't pickup locally installed ones * Add a hack to theme.css to get around inliner bug. * Some unrelated fixups in common/waf.py Unfortunatly several dozen fixes got merged into this.
Diffstat (limited to 'common/sphinx_rtd_theme_rtems/searchbox.html')
-rw-r--r--common/sphinx_rtd_theme_rtems/searchbox.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/common/sphinx_rtd_theme_rtems/searchbox.html b/common/sphinx_rtd_theme_rtems/searchbox.html
new file mode 100644
index 0000000..35ad52c
--- /dev/null
+++ b/common/sphinx_rtd_theme_rtems/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 %}