| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
doctools: fix shortcuts
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previous code was using JQuery to add the listeners
https://github.com/sphinx-doc/sphinx/blob/b3812f72a98b01bae4b1158761082edc46cfa87f/sphinx/themes/basic/static/doctools.js#L304
Looks like by convention returning false mean preventDefault,
but now with pure js this needs to be called explicitly.
And a couple of fixes with the selectors.
- querySelectorAll is an array-like object, it doesn't have a first()
method.
- nextLink was being assigned the `href` attribute instead of the
object itself.
|
|/
|
|
|
|
|
|
| |
Previous code was:
https://github.com/sphinx-doc/sphinx/blob/b3812f72a98b01bae4b1158761082edc46cfa87f/sphinx/themes/basic/static/doctools.js#L262-L268
Ref https://github.com/sphinx-doc/sphinx/pull/10028
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- "/" for Focus search bar
- "ESC" - clear highlighted text
Fixes #691.
Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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
|
|\ \
| |/ |
|
| |\
| | |
| | | |
"Hide Search Matches" removes "highlight" parameter from URL
|
| | | |
|
|/ /
| |
| |
| |
| | |
"heading" is a better word to use in this tooltip, since it better
matches the use case.
|
|/ |
|
|
|
|
|
| |
When one presses left key at the first page, `case 37` falls
through to `case 39` and the next page is visited.
|
|\ |
|
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| | |
.. 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
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Disable arrow keys when a modifier key is pressed
Closes #7088.
* #7088 document key navigation option
* add change note for #7088
Co-authored-by: Timotheus Kampik <timotheus.kampik@signavio.com>
|
| |
|
| |
|
|\ |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
| |
Use `node.parentElement.getBBox()` instead of `span.getBBox()`:
* Same highlighting behavior in Chrome, Opera
* Avoid issue with getBBox() in FF, see:
https://bugzilla.mozilla.org/show_bug.cgi?id=612118
* Microsoft browsers to be tested
|
|
|
|
| |
move templating from `doctools` to `documentation_options`
|
|
|
|
| |
enable configuration via theme.conf
|
| |
|
|
|
|
| |
Adjusted basic theme's JS accordingly
|
|\ |
|
| | |
|
|\ \
| |/ |
|
| | |
|
|/
|
|
| |
jQuery. Closes #1438.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
own with that name; rather use the one from Underscore.
|
| |
|
|
|
|
|
| |
This is (a) semantically cleaner and (b) shows that feature even when source
links are disabled.
|
| |
|
| |
|
| |
|
|
|
|
| |
is already used by pygments.
|
|
|
|
| |
side-effect, the latex modindex is no longer generated by LaTeX.
|
|\ |
|
| | |
|