mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Hide the search box on any "singlehtml" like builder (#975)
- This applies to the RTD builders readthedocssinglehtml and readthedocssinglehtmllocalmedia Co-authored-by: Aaron Carlisle <carlisle.b3d@gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{%- if builder != 'singlehtml' %}
|
||||
{%- 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') }}" />
|
||||
|
||||
Reference in New Issue
Block a user