Skip to content

Commit e6e771b

Browse files
author
alexey
committed
enable search engine
1 parent a30497d commit e6e771b

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

theme/readthedocs/search.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{% extends "base.html" %}
2+
3+
{% block extrahead %}
4+
<script>var base_url = '{{ base_url }}';</script>
5+
<script data-main="{{ base_url }}/mkdocs/js/search.js" src="{{ base_url }}/mkdocs/js/require.js"></script>
6+
{% endblock %}
7+
8+
{% block content %}
9+
<h1 id="search">Search Results</h1>
10+
11+
<form id="content_search" action="search.html">
12+
<span role="status" aria-live="polite" class="ui-helper-hidden-accessible"></span>
13+
<input name="q" id="mkdocs-search-query" type="text" class="search_input search-query ui-autocomplete-input" placeholder="Search the Docs" autocomplete="off" autofocus>
14+
</form>
15+
16+
<div id="mkdocs-search-results">
17+
Sorry, page not found.
18+
</div>
19+
20+
{% endblock %}

0 commit comments

Comments
 (0)