Commit Graph

5703 Commits

Author SHA1 Message Date
Takeshi KOMIYA
3816bcdfa9 Merge pull request #10283 from tk0miya/10277_search_shortwords
Fix #10277: html search: Could not search short words (ex. "use")
2022-03-27 01:43:10 +09:00
Takeshi KOMIYA
59e96bfbc5 Update CHANGES for PR #10118 2022-03-24 02:22:59 +09:00
Takeshi KOMIYA
c77ecf5e07 Fix #10277: html search: Could not search short words (ex. "use") 2022-03-22 01:15:18 +09:00
Takeshi KOMIYA
1e1f8e2180 Update CHANGES for PR #10186 2022-03-21 01:42:41 +09:00
Takeshi KOMIYA
aa1bc83c2a Merge branch '4.x' 2022-03-19 22:58:15 +09:00
Takeshi KOMIYA
889eb99bcd Update CHANGES for PR #10267 2022-03-17 01:59:39 +09:00
Takeshi KOMIYA
4e9c1017ed Merge pull request #10260 from hugovk/colour-env-vars
Enable FORCE_COLOR and NO_COLOR for terminal colouring
2022-03-17 00:38:57 +09:00
Hugo van Kemenade
b172dc1c90 Update AUTHORS and CHANGES 2022-03-13 17:48:04 +02:00
Jakob Lykke Andersen
5a8ce35436 Update changes for merging #10252 2022-03-12 20:07:47 +01:00
Takeshi KOMIYA
ee298ac47e Update CHANGES for PR #10236 2022-03-06 18:41:51 +09:00
Takeshi KOMIYA
cac69adda8 Close #10234: autosummary: Add "autosummary" CSS class to summary tables 2022-03-06 14:50:22 +09:00
Takeshi KOMIYA
f7a0107ddb Merge branch '4.x' 2022-03-03 02:28:07 +09:00
Takeshi KOMIYA
f72cd83e4d Merge branch '4.x' 2022-02-19 16:08:05 +09:00
Takeshi KOMIYA
1cb5a3b5fa Merge commit '799385f5558a888d1a143bf703d06b66d6717fe4' 2022-02-16 00:25:53 +09:00
jfbu
b8789b4cb6 Improve mark-up and order in CHANGES 2022-02-15 10:31:29 +01:00
jfbu
173889f8f7 Update CHANGES for PR #10087 2022-02-14 21:06:51 +01:00
Takeshi KOMIYA
8b23f6db12 Merge commit '07110b7557a552ecfe702bdd6a2d2f9685cb1af9' 2022-02-14 03:03:40 +09:00
Takeshi KOMIYA
d7c6fa853c Merge commit '2be06309518d9401a42880bb5b4321dfdd1e5e90' 2022-02-14 03:02:31 +09:00
Takeshi KOMIYA
01d06f9ffe Fix #10175: LaTeX: named footnote ref is linked to an incorrect footnote
A named footnote reference will be converted to a hyperlink to an
incorrect footnote if the name is also used in the different document.
2022-02-13 20:20:42 +09:00
Takeshi KOMIYA
9ea2b768b0 Merge pull request #10185 from tk0miya/10181_napoleon_use_ivar_corrupted
Fix #10181: napoleon_use_ivar adds unexpected prefix to vars
2022-02-13 18:46:14 +09:00
Takeshi KOMIYA
8224f6f44a Fix #10181: napoleon_use_ivar adds unexpected prefix to vars
Since 4.0, :ivar: items has not been rendered as hyperlinks.  So any
modules, classes and tilda are now harmful.  This removes the prefixing
filter for napoleon_use_ivar option.

refs: #5129 and #5977
2022-02-12 00:50:56 +09:00
Takeshi KOMIYA
e1ea3bb53a Fix #9971: autodoc: TypeError for annotation with unhashable object
restify() and stringify() fails with TypeError when unhashable object is
given.
2022-02-11 13:40:35 +09:00
Takeshi KOMIYA
777b1fa105 Merge branch '4.x' into 9529_named_footnotes_in_latex 2022-02-11 13:08:26 +09:00
Takeshi KOMIYA
680417a10d Merge pull request #10150 from tk0miya/10146_autodoc_default_options_should_support_no-value
Close #10146: autodoc: autodoc_default_options does not support `no-value` option
2022-02-06 15:59:24 +09:00
Takeshi KOMIYA
1546b21f89 Fix #9529: LaTeX: named footnotes are converted to "?"
Named auto numbered footnote (ex. ``[#named]``) that is referred
multiple times was rendered to a question mark.

This calls `\sphinxstepexplicit` for every footnote node that is
referred multiple times.
2022-02-06 15:59:01 +09:00
Takeshi KOMIYA
1d68973f20 Merge branch '4.4.x' into 4.x 2022-02-06 15:57:00 +09: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
Takeshi KOMIYA
b0b51cecc2 Close #10146: autodoc: autodoc_default_options does not support no-value option 2022-01-31 01:51:37 +09:00
Takeshi KOMIYA
799385f555 Merge pull request #9337 from marxin/new-shortcuts
Implement new search shortcuts.
2022-01-31 00:11:45 +09:00
Takeshi KOMIYA
07110b7557 Merge pull request #10132 from tk0miya/10122_install_check_in_make.bat
Fix #10122: make.bat should check the installation before help
2022-01-30 23:54:37 +09:00
Takeshi KOMIYA
eaefbef1eb Fix #9876: autodoc: ocument a class on binary module 2022-01-30 23:52:12 +09:00
Takeshi KOMIYA
f97ca41cfd Fix the order of CHANGES 2022-01-30 23:37:24 +09:00
Takeshi KOMIYA
13011703ea Fix #10122: make.bat should check the installation before help 2022-01-30 23:36:52 +09:00
Takeshi KOMIYA
c75e43a321 Merge pull request #10136 from tk0miya/10133_autodoc_mocked_module
Fix #10133: autodoc: Crashed when mocked module is used for type annotation
2022-01-30 23:35:54 +09:00
Takeshi KOMIYA
444e27865d Fix #10133: autodoc: Crashed when mocked module is used for type annotation 2022-01-30 23:19:55 +09:00
Takeshi KOMIYA
d8a398bbdd Close #10125: extlinks: Improve suggestion message for a reference having title 2022-01-23 20:09:47 +09:00
Martin Liska
8cf3179ad2 Implement new shortcuts:
- "/" for Focus search bar
- "ESC" - clear highlighted text

Fixes #691.

Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
2022-01-22 16:16:35 +01:00
Takeshi KOMIYA
72bb5c998f Close #9456: html search: Add a config variable; html_show_search_summary
refs: #9494
2022-01-17 01:44:42 +09:00
Takeshi KOMIYA
444dfc50aa Merge branch '4.x' 2022-01-17 00:22:09 +09:00
Takeshi KOMIYA
bd55cce6e6 Bump version 2022-01-17 00:21:22 +09:00
Takeshi KOMIYA
99947d9b18 Bump version 2022-01-17 00:19:41 +09:00
Takeshi KOMIYA
88f9647a22 Bump to 4.4.0 final 2022-01-17 00:17:38 +09:00
Jakob Lykke Andersen
9a3f2b8542 intersphinx role, CHANGES 2022-01-16 09:48:06 +01:00
Takeshi KOMIYA
da3981ae30 Update CHANGES for PR #10101 2022-01-16 03:04:01 +09:00
Takeshi KOMIYA
453e0c798e Merge pull request #10100 from tk0miya/9413_xml_namespace
Fix #9413: xml: Invalid XML was generated when cross referencing python objects
2022-01-16 02:49:01 +09:00
Takeshi KOMIYA
3b8387f469 Merge pull request #10097 from tk0miya/10029_strip_value_from_cmdoption
Fix #9981: std domain: Strip value part of the option directive from genindex
2022-01-16 02:44:24 +09:00
Takeshi KOMIYA
6a0215198f Merge branch '4.x' 2022-01-16 02:26:11 +09:00
Takeshi KOMIYA
76c9b3c605 Fix #9413: xml: Invalid XML was generated when cross referencing python objects 2022-01-16 02:02:12 +09:00
Takeshi KOMIYA
44e6d0ce2a doc: Remove a mention to :dedent: 0
`:dedent: 0` option for the code-block directive is a secret feature.
So it should not be mentioned in our docs.
2022-01-15 19:59:47 +09:00
Takeshi KOMIYA
6611140c76 Merge branch '4.x' into HEAD 2022-01-15 19:46:45 +09:00