source: rtems-docs/common/sphinx_rtd_theme_rtems/searchbox.html @ a316b1f

4.115
Last change on this file since a316b1f was a316b1f, checked in by Amar Takhar <amar@…>, on 01/20/16 at 01:37:04

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.

  • Property mode set to 100644
File size: 354 bytes
Line 
1{%- if builder != 'singlehtml' %}
2<div role="search">
3  <form id="rtd-search-form" class="wy-form" action="{{ pathto('search') }}" method="get">
4    <input type="text" name="q" placeholder="Search docs" />
5    <input type="hidden" name="check_keywords" value="yes" />
6    <input type="hidden" name="area" value="default" />
7  </form>
8</div>
9{%- endif %}
Note: See TracBrowser for help on using the repository browser.