summaryrefslogtreecommitdiffstats
path: root/theme/mkdocs_windmill/search.html
diff options
context:
space:
mode:
authorgrowupboron <shankhoghosh123@gmail.com>2020-09-11 17:18:57 +0530
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-09-11 12:11:56 +0000
commit4aad369c9728061c97b3de792286e743ee884b09 (patch)
tree14bddddeab334e3fdbdcf29446a87aa11cf6cd97 /theme/mkdocs_windmill/search.html
parent619a7e48085be1538c3b01eb93dcb9dc95bf0436 (diff)
Simplified doc-site generationjellyfish_9.99.4jellyfish/9.99.49.99.4
Updated theme to windmill Using Mkdocs static site generator Deployed on readthedocs Signed-off-by: growupboron <shankhoghosh123@gmail.com> Change-Id: If62eaaea1855c91b64f687900f54eba6bc1caee8 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/documentation/+/25236 Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org> Tested-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'theme/mkdocs_windmill/search.html')
-rw-r--r--theme/mkdocs_windmill/search.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/theme/mkdocs_windmill/search.html b/theme/mkdocs_windmill/search.html
new file mode 100644
index 0000000..8db4b0a
--- /dev/null
+++ b/theme/mkdocs_windmill/search.html
@@ -0,0 +1,18 @@
+{% extends "base.html" %}
+
+{% block content %}
+ <h1 id="search">Search Results</h1>
+
+ <ul id="mkdocs-search-results" class="wm-search-page">
+ Searching...
+ </ul>
+
+ <script>
+ window.top.doSearch({
+ resultsElem: $('#mkdocs-search-results'),
+ query: getParam('q'),
+ snippetLen: 200,
+ limit: 0
+ });
+ </script>
+{% endblock %}