{% if theme_use_meilisearch %} {%- extends "page.html" %} {%- block content %} {# A tiny helper pixel to detect if we've scrolled #}
{# the scroll to top button #} {# checkbox to toggle primary sidebar #} {# Checkboxes to toggle the secondary sidebar #} {%- if theme_announcement -%} {% include "sections/announcement.html" %} {%- endif %} {% block docs_navbar %} {% endblock docs_navbar %}
{# Primary sidebar #} {# If we have no sidebar TOC, pop the TOC component from the sidebar list #} {# % if get_sidebar_toctree_length(show_nav_level=theme_show_nav_level|int) == 0 % #} {# % set sidebars = sidebars | reject("in", "sidebar-nav-bs.html") | list % #} {# % endif % #} {# Using an ID here so that the skip-link works #}
{# Main content area #} {% block docs_main %}
{# Article header #}
{% include "sections/header-article.html" %}
{# Article content #} {% block docs_body %}

{{ _("Search") }}

{% include "components/search-field.html" %}
{% endblock docs_body %} {# Article Footer #} {% if theme_show_prev_next %}
{% include "sections/footer-article.html" %}
{% endif %}
{# Secondary sidebar #} {% block docs_toc %} {% if not remove_sidebar_secondary %}
{% include "sections/sidebar-secondary.html" %}
{% endif %} {% endblock docs_toc %}
{% endblock docs_main %}
{# Scripts placed at the end of the page to cut down on time to first content #} {%- block scripts_end %}{{ _webpack.body_post() }}{%- endblock scripts_end %} {%- endblock content %} {% else %} {%- include "pydata_sphinx_theme/search.html" -%} {% endif %}