Takeshi KOMIYA
9f46b1fa67
Merge pull request #9557 from tk0miya/pygments
...
Fix test: Tests has been broken with pygments-2.10+
2021-08-21 21:02:50 +09:00
Takeshi KOMIYA
bde6c8d2ef
Fix test: Tests has been broken with pygments-2.10+
2021-08-19 23:26:42 +09:00
Takeshi KOMIYA
e3a8ee9fcf
Merge pull request #9538 from tk0miya/9537_GenericAlias
...
Fix #9537 : autodoc: Some typing.* objects are broken
2021-08-11 02:10:31 +09:00
Takeshi KOMIYA
648af37d86
Fix #9537 : autodoc: Some typing.* objects are broken
...
At the HEAD of 3.10, the implementation of `typing._GenericAlias` has
been changed to have correct _name and __name__.
2021-08-11 01:59:38 +09:00
Takeshi KOMIYA
650730d9b2
Merge pull request #9515 from tk0miya/9504_SpecialForm
...
Fix #9504 : autodoc: generate incorrect reference to the parent class
2021-08-01 15:13:27 +09:00
Takeshi KOMIYA
d0c97e9eb5
Fix #9504 : autodoc: generate incorrect reference to the parent class
...
Autodoc generates incorrect references to the parent class the target
class inherites the class having `_name` attribute. It conciders the
parent is a kind of SpecialForm'ed class by mistake. This uses
`isinstance(X, SpecialForm)` to check that.
Note: SpecialForm became a class since Python 3.7.
2021-07-31 01:41:35 +09:00
Takeshi KOMIYA
1fd5f74653
Fix #9512 : sphinx-build: crashed with the HEAD of Python 3.10
...
Recently, `types.Union` was renamed to `types.UnionType` on the HEAD
of 3.10 (refs: python/cpython#27342 ). After this change, sphinx-build
has been crashed because of ImportError.
2021-07-30 02:19:29 +09:00
Takeshi KOMIYA
f210e4541a
Bump version
2021-07-27 02:15:05 +09:00
Takeshi KOMIYA
4ba5c21b01
Bump to 4.1.2 final
2021-07-27 02:13:32 +09:00
Takeshi KOMIYA
4dc45f0a3d
Merge pull request #9494 from tk0miya/9456_revert_9129
...
Fix #9456 : html search: html_copy_source can't control the search summaries
2021-07-26 01:26:08 +09:00
Takeshi KOMIYA
df562b4343
Merge branch '4.1.x' into 9456_revert_9129
2021-07-26 00:57:21 +09:00
Takeshi KOMIYA
5d8f925e02
Merge pull request #9493 from tk0miya/9436_autodoc_class_signature
...
Fix #9436 , #9471 : autodoc: crashed if autodoc_class_signature = "separated"
2021-07-25 19:08:53 +09:00
Takeshi KOMIYA
ef53dec9c5
Fix #9456 : html search: html_copy_source can't control the search summaries
...
This reverts commit 634b05f3a5
.
So far, users can disable showing summary texts via `html_copy_source`
setting. But this change always show them forcedly. To keep
compatibility, it should be reverted temporarily.
refs: #9456
2021-07-24 21:09:29 +09:00
Takeshi KOMIYA
4f364a30bc
Fix #9436 , #9471 : autodoc: crashed if autodoc_class_signature = "separated"
...
A list should be used for special-members option instead of set.
2021-07-24 14:52:25 +09:00
Takeshi KOMIYA
9218ad4adc
Merge pull request #9491 from tk0miya/9489_NewType
...
Bugfix for HEAD of python-3.10
2021-07-23 02:14:58 +09:00
Takeshi KOMIYA
68fb54806f
Fix #9490 : autodoc: Some typing.* objects are broken
...
At the HEAD of 3.10, the implementation of `typing._SpecialForm` and
`typing._BaseGenericAlias` has been changed to support __qualname__.
2021-07-23 02:04:26 +09:00
Takeshi KOMIYA
771507e073
Fix #9489 : autodoc: Custom types using typing.NewType are broken
...
At the HEAD of 3.10, the implementation of ``typing.NewType`` has been
changed to the class based. To follow the change, this uses
``isinstance`` on ``sphinx.util.inspect:isNewType()`.
2021-07-23 00:06:33 +09:00
Takeshi KOMIYA
9ebdc987b0
Merge pull request #9467 from tk0miya/9435_disable_rewrite_github_anchor
...
Fix #9435 : linkcheck: Failed to check anchors in github.com
2021-07-20 01:15:29 +09:00
Takeshi KOMIYA
60617cb1e6
Merge pull request #9476 from jfbu/9475_latex_markup
...
Remove mark-up in Sphinx own docs breaking building it into PDF output
2021-07-20 00:54:40 +09:00
Takeshi KOMIYA
501abc67b6
Merge pull request #9478 from tk0miya/9443
...
Fix testcases that failed in python3.10.0b4
2021-07-20 00:39:43 +09:00
Takeshi KOMIYA
0565da6512
Fix testcases that failed in python3.10.0b4
2021-07-20 00:25:32 +09:00
jfbu
e1612b4909
Remove mark-up breaking PDF output
...
Close : #9475
Refs: #9355
2021-07-19 12:23:30 +02:00
Takeshi KOMIYA
a35b009adc
Fix #9435 : linkcheck: Failed to check anchors in github.com
...
The approach of `rewrite_github_anchor` makes some anchors valid. But
it also makes other kind of anchors invalid. This disables the handler
to make them valid again (while 4.1.x release).
2021-07-18 13:03:57 +09:00
Takeshi KOMIYA
9a2c3c4a15
Bump version
2021-07-15 02:23:27 +09:00
Takeshi KOMIYA
564439e66d
Bump to 4.1.1 final
2021-07-15 02:22:15 +09:00
Takeshi KOMIYA
ffa08315c1
Merge pull request #9448 from tk0miya/9434_update_deps
...
Fix #9434 : Update dependencies for bundled builders
2021-07-15 01:29:30 +09:00
Takeshi KOMIYA
5daedcfec8
Fix #9434 : Update dependencies for bundled builders
2021-07-15 01:17:36 +09:00
Karolina Surma
42d9d11247
Fix testcase: Enum changes were reverted in Python 3.10
2021-07-14 08:40:03 +02:00
Takeshi KOMIYA
f3a3bd2298
Update CHANGES for PR #9440
2021-07-14 01:17:26 +09:00
Takeshi KOMIYA
63001f3bb0
Merge pull request #9440 from tronical/logo-regression-fix
...
Fix handling of local paths in html_logo/html_favicon directorives in conf.py
2021-07-14 01:15:57 +09:00
Simon Hausmann
3a50abc5c9
Fix handling of local paths in html_logo/html_favicon directorives in conf.py
...
Merge request #9381 broke support for local logos/favicons as it
retained the paths that are passed to the template engine. That's wrong
as the actual path will be in _static/.
This should fix #9438
2021-07-13 18:03:36 +02:00
Takeshi KOMIYA
3c3a734b97
Bump version
2021-07-12 02:14:01 +09:00
Takeshi KOMIYA
bdcd16113b
Bump to 4.1.0 final
2021-07-12 02:12:31 +09:00
Takeshi KOMIYA
4a2f5df9ba
Merge branch '9299' into 4.x
2021-07-11 19:33:47 +09:00
Takeshi KOMIYA
e6d3adf5d9
intersphinx: Add testcase for case insensitive term match (refs: #9299 )
2021-07-11 19:33:38 +09:00
Takeshi KOMIYA
573db836be
Update CHANGES for PR #9225
2021-07-11 13:49:31 +09:00
Takeshi KOMIYA
f40c2837dc
Merge pull request #9225 from doerwalter/typehint-html
...
Add HTML markup to method/function return typehint
2021-07-11 12:03:40 +09:00
Takeshi KOMIYA
5aed23d681
Merge pull request #9429 from sphinx-doc/bot/pull-translations
...
Update message catalogs
2021-07-11 11:50:28 +09:00
tk0miya
9587fd14cf
Update message catalogs
2021-07-11 00:08:08 +00:00
Takeshi KOMIYA
beea08481e
Merge pull request #9411 from tk0miya/9404_TypeError_for_non_class
...
Fix #9404 : autodoc: autoclass raises TypeError for dict-like object
2021-07-11 02:51:48 +09:00
Takeshi KOMIYA
fe037233ca
Fix #9404 : autodoc: autoclass raises TypeError for dict-like object
...
The autoclass directive raises TypeError when dict-like object (not a
class) is given as a subject.
2021-07-11 02:40:17 +09:00
Takeshi KOMIYA
ac2b9a4f66
Update CHANGES for PR #9427
2021-07-11 02:13:50 +09:00
Takeshi KOMIYA
866719f48f
Merge branch '4.x' into 9427
2021-07-11 02:12:32 +09:00
Takeshi KOMIYA
dd89c3689e
py domain: Add testcase for empty callable (refs: #9427 )
2021-07-11 02:12:23 +09:00
Takeshi KOMIYA
c24b7a0e90
Update CHANGES for PR #9419
2021-07-11 01:44:41 +09:00
Takeshi KOMIYA
7e3e15231e
Merge pull request #9419 from zhsj/fancyvrb-zh
...
Add xeCJKVerbAddon to default fvset config for Chinese documents
2021-07-11 01:43:44 +09:00
Takeshi KOMIYA
f65955cf19
Merge pull request #9426 from astrojuanlu/add-gh-token-lock
...
Add mandatory GitHub token to lock workflow
2021-07-11 01:39:59 +09:00
Thomas Jungers
a67105974f
Closes #9418 : Fix missing bracket for empty Callable annotations.
2021-07-09 16:57:36 +02:00
Juan Luis Cano Rodríguez
03bf83365e
Add mandatory GitHub token to lock workflow
2021-07-09 09:08:14 +02:00
Takeshi KOMIYA
8c62099456
Merge pull request #9415 from tk0miya/9362_AttributeError_for_subclass_of_empty_tuple
...
Fix #9362 : autodoc: AttributeError is raised for a subclass of Tuple[()]
2021-07-09 02:55:29 +09:00