James Addison
|
bfce4f54b0
|
[HTML search] include partially-matched document titles in search results (#12041)
Co-authored-by: William Lachance <wlach@protonmail.com>
|
2024-03-26 12:18:26 +01:00 |
|
James Addison
|
bf0bec3b4b
|
[search] filter script and style elements from search result summary text. (#12057)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
|
2024-03-17 15:14:03 +01:00 |
|
Will Lachance
|
ae51974e21
|
[search] fix multiple term matching edge case (#11960)
|
2024-03-03 18:01:10 +01:00 |
|
Will Lachance
|
1e4f80d7a4
|
[search] fix partial matches overwriting full matches (#11958)
|
2024-03-03 15:18:07 +01:00 |
|
Will Lachance
|
9a30ca7da1
|
[HTML search] use anchor for search preview (#11944)
|
2024-02-27 15:22:52 +01:00 |
|
Adam Turner
|
c7c0e4048d
|
Split out sphinx_highlight.js
|
2022-09-24 15:10:57 +01:00 |
|
Adam Turner
|
61d7b0b47c
|
Replace jssplitter with JavaScript
|
2022-03-19 23:16:27 +00:00 |
|
Adam Turner
|
3b01fbe2ad
|
Drop JavaScript Frameworks (#10028)
* 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
|
2022-01-30 20:27:12 +01:00 |
|
Daniel Hofmann
|
3e479d772b
|
Closes #8123: Fix plus-handling (+) in search terms for basic html theme search
Note, that the default splitter will not index +, so this isn't of much of much use, unless
the splitter of the search-language is reconfigured.
|
2020-08-19 18:01:27 +02:00 |
|
Timotheus Kampik
|
64e64ffbd4
|
#5258 allow for some variability in test
|
2019-01-12 15:58:07 +01:00 |
|
Timotheus Kampik
|
c761ec248b
|
#5258 test after control merge & polish
|
2019-01-12 14:48:35 +01:00 |
|
Timotheus Kampik
|
97fd09177c
|
#5258 add tests for highlightText()
|
2018-08-05 10:45:21 +02:00 |
|
Timotheus Kampik
|
afe46ef74c
|
#5186 add tests for getQueryParameters()
and fix test description of `urldecode()`
|
2018-07-28 21:12:05 +02:00 |
|
Timotheus Kampik
|
5fdf81fe2d
|
#5186 configure karma
and add first karma test
|
2018-07-22 12:27:39 +02:00 |
|