summaryrefslogtreecommitdiff
path: root/sphinx/themes/basic/searchbox.html
Commit message (Collapse)AuthorAgeFilesLines
* Happy New Year!Adam Turner2023-01-011-1/+1
|
* Drop JavaScript Frameworks (#10028)Adam Turner2022-01-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Delete jQuery and underscore.js * Move underscores.js setup to searchtools.js * Update jQuery.url(en|de)code * Update jQuery.getQueryParameters * Firefox bug is no longer present xref https://bugzilla.mozilla.org/show_bug.cgi?id=645075#c49 * Update jQuery.fn.highlightText * Use enum instead of magic number * Update test descriptions to remove obsolete jQuery reference * Update Documentation.getCurrentURL * Revert accidental fix of Documentation.getCurrentURL * Update Documentation.initOnKeyListeners * Update Documentation.hideSearchWords * Update Documentation.highlightSearchWords * Update Documentation.initDomainIndexTable * Use arrow functions and const * Replace $(document).ready * Strict mode * Move Documentation.hideSearchWords next to Documentation.highlightSearchWords * Update translation functions in Documentation * Replace $(document).ready in searchtools.js * Update Scorer * Update Search.hasIndex, Search.deferQuery, Search.stopPulse * Prefer window.location * Update Search.init * Update Search.loadIndex * Update Search.setIndex * Update Search.startPulse * Add _escapeRegExp * Update Search.makeSearchSummary * Update Search.htmlToText * Update Search.performSearch * Factor out _displayNextItem * Update Search.query * Update Search.performObjectSearch * Update Search.performTermsSearch * Remove underscores.js setup * Use Sets * Update test configuration * Fix test failures * Drop unused make/get URL functions * Strict mode in searchtools.js * Remove outmoded check for jQuery and underscore.js * Ran prettier prettier --print-width 120 --no-semi --quote-props as-needed --no-bracket-spacing --arrow-parens avoid --write sphinx/themes/basic/static * Remove more references to jQuery and underscore.js * Remove jQuery and underscore.js licences * Update classic theme for no jQuery * Update all other themes for no jQuery * Restore jQuery & underscores.js to Sphinx themes Enables a more gradual deprecation * Added deprecation note to CHANGES * Run prettier with defaults * Update deprecation message to include extensions, note that sources must be copied * oops * Address Pradyun's feedback * Forgot this one * `let` doesn't work, as it is scoped to the block... * Remove missed jQuery in sphinx13 theme
* A happy new year!Takeshi KOMIYA2022-01-011-1/+1
|
* 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.
* 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
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* Remove redundant type="text/javascript" from <script> elementsJon Dufresne2019-12-151-1/+1
| | | | | | | | | | | | | | | 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.
* Add a label to search input for accessability purposes.Omer Katz2019-05-121-2/+2
|
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | Remove unused search params: check_keywords, areaTakeshi KOMIYA2018-10-071-2/+0
|/
* improved sidebar search field styleTim Hoffmann2018-01-051-2/+4
|
* A happy new year!Takeshi KOMIYA2018-01-011-1/+1
|
* Year++Takeshi KOMIYA2017-03-261-1/+1
|
* Fix #2497, #2552: The label of search button does not fit for the button itselfTakeshi KOMIYA2016-05-291-2/+2
|
* closes #582: Remove hint message from quick search box for html output.shimizukawa2016-03-061-3/+0
|
* Obligatory copyright update.Georg Brandl2016-01-141-1/+1
|
* Merge branch 'stable'Georg Brandl2015-01-031-1/+1
|\
| * all: update copyrightGeorg Brandl2015-01-031-1/+1
| |
* | Update copyright year.Georg Brandl2014-03-011-1/+1
|\ \ | |/
| * Update copyright year.Georg Brandl2014-03-011-1/+1
| |
* | merge with stableGeorg Brandl2014-01-191-1/+1
|\ \ | |/
| * Closes #1147: Don't emit a sidebar search box in the "singlehtml" builder.Georg Brandl2014-01-191-1/+1
| |
* | Added WAI-ARIA roles to themes (document, banner, navigation, main, ↵Wes Turner2014-01-141-1/+1
|/ | | | | | | | contentinfo, note) https://en.wikipedia.org/wiki/WAI-ARIA http://www.w3.org/TR/wai-aria/roles
* Copyright update.Georg Brandl2013-01-011-1/+1
|
* Fix #734: make sidebar search box width consistent on all browsers.Georg Brandl2011-09-211-1/+1
|
* New year update.Georg Brandl2011-01-041-1/+1
|
* Fix compatibility with blocks in the old sidebar scheme: blocks cannot be ↵Georg Brandl2010-01-071-2/+0
| | | | used in included templates. Deprecate the blocks accordingly.
* The ``html_sidebars`` config value can now contain patterns as keys, and the ↵Georg Brandl2010-01-071-0/+26
values can be lists that explicitly select which sidebar templates should be rendered. That means that the builtin sidebar contents can be included only selectively.