diff options
author | mathieui <mathieui@mathieui.net> | 2015-02-07 20:54:20 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2015-02-07 21:14:48 +0100 |
commit | 61f28d7ffeae0b6a8fd8ca0617e082e2196df622 (patch) | |
tree | 293bb9830aa215e415f34bb24c8846cb8d13b3b7 /doc/source/theme/sphinx_rtd_theme/searchbox.html | |
parent | cc91486f8a3619a61e803d990284b040797a1944 (diff) | |
download | poezio-61f28d7ffeae0b6a8fd8ca0617e082e2196df622.tar.gz poezio-61f28d7ffeae0b6a8fd8ca0617e082e2196df622.tar.bz2 poezio-61f28d7ffeae0b6a8fd8ca0617e082e2196df622.tar.xz poezio-61f28d7ffeae0b6a8fd8ca0617e082e2196df622.zip |
Change the sphinx theme to one derived from readthedocs
(without stuff like the unicode codepoint agressions and external
resources)
This should be cleaner and look good on mobile devices too.
Diffstat (limited to 'doc/source/theme/sphinx_rtd_theme/searchbox.html')
-rw-r--r-- | doc/source/theme/sphinx_rtd_theme/searchbox.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/source/theme/sphinx_rtd_theme/searchbox.html b/doc/source/theme/sphinx_rtd_theme/searchbox.html new file mode 100644 index 00000000..35ad52c5 --- /dev/null +++ b/doc/source/theme/sphinx_rtd_theme/searchbox.html @@ -0,0 +1,9 @@ +{%- if builder != 'singlehtml' %} +<div role="search"> + <form id="rtd-search-form" class="wy-form" action="{{ pathto('search') }}" method="get"> + <input type="text" name="q" placeholder="Search docs" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> +</div> +{%- endif %} |