Takeshi KOMIYA
155ca3e853
Update CHANGES for PR #9509
2021-07-31 02:44:05 +09:00
Takeshi KOMIYA
36e06d67c9
Merge pull request #9513 from tk0miya/9512_types.UnionTypes
...
Fix #9512 : sphinx-build: crashed with the HEAD of Python 3.10
2021-07-30 02:18:34 +09:00
Takeshi KOMIYA
8b2031c747
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 01:32:28 +09:00
Takeshi KOMIYA
f59026865a
Merge pull request #9498 from tk0miya/9481_autosummary_warnings
...
Fix #9481 : autosummary: some warnings contain non-existing filenames
2021-07-27 02:17:39 +09:00
Takeshi KOMIYA
2d9e696104
Merge branch '4.1.x' into 4.x
2021-07-27 02:15:59 +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
52fd229dda
Merge branch '4.1.x' into 4.x
2021-07-26 01:26:27 +09:00
Takeshi KOMIYA
df562b4343
Merge branch '4.1.x' into 9456_revert_9129
2021-07-26 00:57:21 +09:00
Takeshi KOMIYA
774b0b05b6
Fix #9481 : autosummary: some warnings contain non-existing filenames
...
`SphinxDirective.get_source_info()` returns the pair of fullpath of
source and current line number. But our logging module expects one of
these:
* A string consists of fullpath and current line number
* A pair of docname and current line number
To show correct location for warnings, this adds `get_location()` method
that returns the former one.
Note: This also modifies C/C++ domains.
2021-07-25 20:04:18 +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
3dd562ad6a
Merge branch '4.x' into 9487_typehint_for_cached_property
2021-07-23 02:22:38 +09:00
Takeshi KOMIYA
05cce83cc7
Merge branch '4.1.x' into 4.x
2021-07-23 02:16:33 +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
65c089bd40
Fix #9487 : autodoc: typehint for cached_property is not shown
2021-07-22 23:25:03 +09: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
38d80c3d0f
Close #9445 : autodoc: Support class properties
...
Since python 3.9, `classmethod` starts to support creating a "class
property". This supports to generate document for it.
2021-07-17 16:39:50 +09:00
Takeshi KOMIYA
120525563c
Cloase #9445 : :py:property: directive now supports :classmethod: option
...
Since python 3.9, `classmethod` starts to support creating a "class
property". This allows to describe it.
2021-07-17 14:24:31 +09:00
Takeshi KOMIYA
939c7bb7ff
Merge branch '4.1.x' into 4.x
2021-07-15 02:24:14 +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
5daedcfec8
Fix #9434 : Update dependencies for bundled builders
2021-07-15 01:17:36 +09:00
Takeshi KOMIYA
f3a3bd2298
Update CHANGES for PR #9440
2021-07-14 01:17:26 +09:00
Takeshi KOMIYA
5559e5af1f
Bump version
2021-07-12 02:15:02 +09: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
573db836be
Update CHANGES for PR #9225
2021-07-11 13:49:31 +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
c24b7a0e90
Update CHANGES for PR #9419
2021-07-11 01:44:41 +09:00
Thomas Jungers
a67105974f
Closes #9418 : Fix missing bracket for empty Callable annotations.
2021-07-09 16:57:36 +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
Eisuke Kawashima
652ebf1bf5
Fix typo
2021-07-08 08:16:22 +09:00
Takeshi KOMIYA
007dee7590
Fix #9362 : autodoc: AttributeError is raised for a subclass of Tuple[()]
2021-07-07 09:13:44 +09:00
Takeshi KOMIYA
5e5bca98f7
Merge branch '4.x' into 6525_linkcheck_warn_redirects
2021-07-07 02:09:50 +09:00
Takeshi KOMIYA
f0fef96906
Update CHANGES for PR #9320
2021-07-07 02:07:40 +09:00
Takeshi KOMIYA
2b62b4e639
Update CHANGES for PR #9358
2021-07-07 02:00:56 +09:00
Takeshi KOMIYA
a38255b330
Merge pull request #9401 from tk0miya/9387_custom_visitors_for_xml
...
Fix #9387 : xml: XML Builder ignores custom visitors
2021-07-07 01:45:21 +09:00
jfbu
7d8a41eb38
Update CHANGES for #9166
2021-07-05 20:13:31 +02:00
Takeshi KOMIYA
60b4cd4046
Merge branch '4.0.x' into 4.x
2021-07-06 00:43:17 +09:00
Takeshi KOMIYA
f9644cb080
Bump version
2021-07-06 00:42:20 +09:00
Takeshi KOMIYA
007795da01
Bump to 4.0.3 final
2021-07-06 00:40:29 +09:00
Takeshi KOMIYA
25e1221d1f
Merge branch '4.x' into humitos/add-html-assets-in-all-pages
2021-07-04 12:53:08 +09:00
Takeshi KOMIYA
54c6c666c1
Merge pull request #9386 from tk0miya/9384_autodoc_typehints_supports_attributes
...
Fix #9384 : autodoc_typehints='none' supports typehints for attributes
2021-07-04 11:24:04 +09:00
Takeshi KOMIYA
4aa222e7f9
Fix #9387 : xml: XML Builder ignores custom visitors
...
So far, XML builder only allows to switch its translator to custom one.
But it does not support to install custom visitor methods. This allows
to use them expectedly.
2021-07-04 01:28:37 +09:00
Takeshi KOMIYA
bc616d3b1a
Merge pull request #9367 from tk0miya/9364_single_element_tuple
...
Fix #9364 : autodoc: 1-element tuple on the defarg is wrongly rendered
2021-06-30 21:26:57 +09:00
Takeshi KOMIYA
ec351bdf3d
Merge branch '4.0.x' into 4.x
2021-06-30 21:24:06 +09:00