summaryrefslogtreecommitdiff
path: root/sphinx/themes/basic/search.html
Commit message (Collapse)AuthorAgeFilesLines
* Happy New Year!Adam Turner2023-01-011-1/+1
|
* A happy new year!Takeshi KOMIYA2022-01-011-1/+1
|
* themes: use noscript for search js notificationJames Knight2021-09-111-2/+3
| | | | | | | | | | | | | | The "search.html" template will generate a warning admonition about requiring JavaScript for search and automatically hiding the element when supported. While functional, if a client renders the page slowly, the warning notification may be visible to the user for a moment. Instead of relying on JavaScript to suppress this warning, use a `noscript` tag to hide the warning for clients who do not support JavaScript. This also has the benefit of one less JavaScript call required by a client. Signed-off-by: James Knight <james.d.knight@live.com>
* Prevent corrections and completions in search fieldTim Hoffmann2021-06-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | In particular mobile browsers use correction mechanisms on input fields. Search will often be done with technical terms or even class/method/etc names that these correction mechanisms do not know, resulting in unwanted changes. This PR deactivates these correction mechanisms. While I haven't been able to find official reference documentation on these input attributes, there are multiple sources, describing this, e.g. References: - Autocomplete: https://www.w3schools.com/howto/howto_html_autocomplete_off.asp - Spellckeck: https://www.w3schools.com/howto/howto_html_spellcheck_disable.asp I did not find official reference docs on autocorrect and autocapitalize, but they are mentioned in various sources, e.g. - https://mgearon.com/html/disable-autocomplete-autocapitalize-and-autocorrect/ - https://stackoverflow.com/questions/35513968/disable-auto-correct-in-safari-text-input - https://davidwalsh.name/disable-autocorrect and it works, as can easily be checked with a mobile device on the demos in the above links.
* HTML Templates: Add blocks to search pageAaron Carlisle2021-03-261-0/+8
| | | This allows themes to customize the default search page.
* A happy new year!Takeshi KOMIYA2021-01-011-1/+1
| | | | | | | .. note:: $ find sphinx tests LICENSE doc/conf.py -type f -exec sed -i '' -e 's/2007\-20../2007-2021/' {} \; $ git co sphinx/locale/**/*.js sphinx/templates/epub3/mimetype
* Fix #8419: html search: Do not load language_data.js in non-search pagesTakeshi KOMIYA2020-11-191-0/+1
| | | | | The ``language_data.js`` is only used on search page. But it is always loaded meaninglessly. This fixes not to load it on all non-search pages.
* Merge branch '2.0'Takeshi KOMIYA2020-01-011-1/+1
|\
| * A happy new year!Takeshi KOMIYA2020-01-011-1/+1
| |
* | Merge branch '2.0'Takeshi KOMIYA2019-12-211-3/+3
|\ \ | |/
| * Remove redundant type="text/javascript" from <script> elementsJon Dufresne2019-12-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In HTML5, <script> elements default to MIME type text/javascript. The HTML5 living standard and MDN recommend against including the attribute. From https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#attr-type > The HTML5 specification urges authors to omit the attribute rather > than provide a redundant MIME type. From https://html.spec.whatwg.org/#the-script-element > Authors should omit the type attribute instead of redundantly setting > it.
* | Shorten message on search pageTim Hoffmann2019-11-131-4/+2
|/
* Add a label to search input for accessability purposes.Omer Katz2019-06-231-1/+1
|
* #3620: Defer searchindex.js rather than loading it via ajaxTommy Nguyen2019-02-211-6/+1
|
* A happy new year!Takeshi KOMIYA2019-01-021-1/+1
|
* Fix #5100: Fix HTML search has been brokenTakeshi KOMIYA2018-06-171-2/+2
|
* Deprecate builder.script_files (refs: #4439)Takeshi KOMIYA2018-06-091-1/+4
|
* A happy new year!Takeshi KOMIYA2018-01-011-1/+1
|
* Year++Takeshi KOMIYA2017-03-261-1/+1
|
* Obligatory copyright update.Georg Brandl2016-01-141-1/+1
|
* all: update copyrightGeorg Brandl2015-01-031-1/+1
|
* Update copyright year.Georg Brandl2014-03-011-1/+1
|
* Update the .pot fileGeorg Brandl2013-04-011-1/+1
|
* Closes #723: Fix the search function on local files in WebKit based browsers.Georg Brandl2013-03-301-0/+3
|
* Whitespace cleanup in jinja templatesRoland Meister2013-01-041-1/+1
| | | | | This change removes odd-looking empty lines before the doctype declaration in HTML files created by jinja templates.
* Copyright update.Georg Brandl2013-01-011-1/+1
|
* New year update.Georg Brandl2011-01-041-1/+1
|
* #322: Improve responsiveness of search page by loading the search index ↵Georg Brandl2010-05-301-4/+6
| | | | asynchronously.
* Add copyright headers to HTML templates, stylesheets and JavaScript files.Georg Brandl2010-01-071-0/+9
|
* #292: Fix path to the search index for the ``dirhtml`` builder.Georg Brandl2009-12-241-1/+1
|
* Create themes/ subdirectory and move stuff from templates/ and static/ there.Georg Brandl2009-01-051-0/+45