Commit Graph

4593 Commits

Author SHA1 Message Date
Takeshi KOMIYA
659846b805 Fix #7812: autodoc: crashed when given name is conflicted
Note: this partially reverts #7594 to avoid errors.
2020-07-04 20:48:02 +09:00
Takeshi KOMIYA
9771662cd3 Merge branch '3.1.x' into 7812_broken_stub_files 2020-07-04 19:34:55 +09:00
Jakob Lykke Andersen
8c82ecbf2c Merge pull request #7895 from jakobandersen/c_cpp_noindex
C, C++: remove noindex option
2020-07-02 15:38:45 +02:00
Jakob Lykke Andersen
ff5eb7cc2b C, C++: remove noindex option
The option did nothing.
Improve error messages on duplicates.
2020-06-30 13:52:18 +02:00
Jakob Lykke Andersen
7cbf54c210 C, add c:alias directive 2020-06-30 11:20:17 +02:00
Takeshi KOMIYA
d6ca2f97be Fix #7886: autodoc: TypeError is raised on mocking generic-typed classes 2020-06-30 01:16:38 +09:00
Nguyễn Gia Phong
1a865069db napoleon: Add aliases Warn and Raise 2020-06-29 22:19:54 +07:00
Takeshi KOMIYA
d55bb5ac54 Merge pull request #7873 from tk0miya/7869_abbr_leak
Fix #7869: abbr role wrongly copies an explanation from the previous one
2020-06-29 02:23:56 +09:00
Takeshi KOMIYA
c4f0d70d17 Merge branch '3.x' into 7865_extract_abbr 2020-06-29 02:04:40 +09:00
Takeshi KOMIYA
25e8171a0a Fix #7812: autosummary: generates broken stub files (again) 2020-06-28 17:21:26 +09:00
Takeshi KOMIYA
2d69b4211a Fix #7865: autosummary: Failed to extract summary line when abbr. found 2020-06-27 23:33:43 +09:00
Takeshi KOMIYA
4fa596ba4c Fix #7866: autosummary: Failed to extract correct summary line
A hyperlink target in the docstring causes a system_error because
node_ids are cached expectedly during extracting a summary.
2020-06-27 23:20:59 +09:00
Takeshi KOMIYA
7efa9aebb1 Fix #7869: abbr role wrongly copies an explanation from the previous one 2020-06-27 03:04:28 +09:00
Takeshi KOMIYA
d50c7ff319 Fix #7806: viewcode: Failed to resolve viewcode references on 3rd party builders 2020-06-26 23:33:04 +09:00
Takeshi KOMIYA
4e739b85ee Fix #7850: autodoc: KeyError is raised for invalid mark up 2020-06-26 20:49:22 +09:00
Takeshi KOMIYA
0be08012cd Fix #7856: autodoc: AttributeError is raised for non-class object 2020-06-26 02:16:37 +09:00
Takeshi KOMIYA
e860903cd8 Fix #7844: autodoc: Failed to detect module when relative module name given 2020-06-22 01:53:09 +09:00
Takeshi KOMIYA
275d93b506 Update CHANGES for PR #7846 2020-06-21 17:57:50 +09:00
Jakob Lykke Andersen
5414708343 C,C++: support parameterized GNU style attributes
Fixes sphinx-doc/sphinx#7853
2020-06-20 09:55:35 +02:00
Takeshi KOMIYA
9c0bf231ab Fix #7839: autosummary: cannot handle umlauts in function names 2020-06-16 23:18:17 +09:00
Takeshi KOMIYA
05c65163ec Merge branch '3.1.x' into 3.x 2020-06-14 12:55:47 +09:00
Takeshi KOMIYA
5599fae11a Bump version 2020-06-14 12:55:01 +09:00
Takeshi KOMIYA
e7c2949a87 Bump to 3.1.1 final 2020-06-14 12:53:48 +09:00
Takeshi KOMIYA
941e340510 Merge branch '3.1.x' into 7807_contextmanager 2020-06-14 12:32:20 +09:00
Takeshi KOMIYA
6c3db6d65a Fix #7805: autodoc: an object which descriptors returns is documented 2020-06-14 12:22:57 +09:00
Takeshi KOMIYA
02acad66f0 Merge pull request #7827 from tk0miya/7808_napoleon_nitpicky_warning
Revert "ext.napoleon: Emit type annotations at the start of `.. attribute::`"
2020-06-14 11:48:44 +09:00
Takeshi KOMIYA
d77622ba79 Fix #7807: autodoc: wrong signature is shown for the function using contextmanager 2020-06-14 01:31:18 +09:00
Takeshi KOMIYA
b3affa6949 Fix autodoc: Show detailed warning when type_comment is mismatched (refs: #7807) 2020-06-13 23:53:30 +09:00
Takeshi KOMIYA
e983189c94 Update CHANGES 2020-06-13 16:38:19 +09:00
Takeshi KOMIYA
7c358ed7fd Merge branch '3.1.x' into 7821_overload_builtin_function 2020-06-13 15:24:16 +09:00
Takeshi KOMIYA
3dc9df4e54 Fix #7821: autodoc: TypeError is raised for overloaded C-ext function 2020-06-12 22:55:50 +09:00
Takeshi KOMIYA
e2d5f01a18 Update CHANGES for PR #7822 2020-06-12 22:39:34 +09:00
Takeshi KOMIYA
877e43d108 Bump version 2020-06-12 22:38:25 +09:00
Takeshi KOMIYA
83aef3ff37 Merge branch '3.1.x' into 7802_EOFError_on_parallel_build 2020-06-12 20:36:12 +09:00
Takeshi KOMIYA
f1ec5732a7 Merge branch '3.1.x' into 7812_broken_stubs_for_same_qualname_entries 2020-06-12 01:50:38 +09:00
Takeshi KOMIYA
60a8770a63 Merge branch '3.1.x' into 7808_complex_typehints_for_pydata 2020-06-11 23:44:09 +09:00
Takeshi KOMIYA
29fa09a16e Fix #7802: autodoc: EOFError is raised on parallel build
sphinx-build has crashed with EOFError when autodoc raises a warning
having exc_info under parallel mode.  In parallel mode, all messages
are pickled to transfer logs to parent process.  But the warning is
not picklable because it contains a traceback object.

This removes exc_info from warning messages to prevent crashes.
2020-06-11 23:07:19 +09:00
Takeshi KOMIYA
55fc097833 Update CHANGES for PR #7811 2020-06-11 23:06:47 +09:00
Takeshi KOMIYA
d8cf26ef93 Fix #7812: autosummary: generates broken stub files 2020-06-11 20:29:41 +09:00
Takeshi KOMIYA
9df73e65b8 Update CHANGES for PR #7811 2020-06-11 02:55:53 +09:00
Takeshi KOMIYA
cd7d3c0ddd Fix #7808: autodoc: Warnings raised on variable and attribute type annotations 2020-06-10 22:58:39 +09:00
Takeshi KOMIYA
eff48a9dac Remove header for 3.0.5 (unreleased) 2020-06-08 22:41:27 +09:00
Takeshi KOMIYA
9834f775ae Bump version 2020-06-08 22:39:29 +09:00
Takeshi KOMIYA
62a9b324a2 Bump to 3.1.0 final 2020-06-08 22:37:01 +09:00
Takeshi KOMIYA
23a51a3a33 Merge pull request #7797 from tk0miya/7791_TypeError_for_singledispatchfunction
Fix #7791: autodoc: TypeError is raised on documenting singledispatch function
2020-06-08 22:23:46 +09:00
Takeshi KOMIYA
d0cdf073bd Update CHANGES for PR #7657 2020-06-08 02:25:39 +09:00
Takeshi KOMIYA
7fa47e4b1b Merge pull request #7788 from tk0miya/7722_support_typevar
autodoc: Support TypeVar (refs: #7722)
2020-06-07 02:20:21 +09:00
Takeshi KOMIYA
bf89b1d101 Merge pull request #7794 from tk0miya/7792_setuptools_verbosity
Close #7792: setuptools: Support ``--verbosity`` option
2020-06-07 02:19:30 +09:00
Takeshi KOMIYA
588e5bd08c Merge pull request #7778 from tk0miya/7723_pdflatex_URL_having_singlequote
Fix #7723: LaTeX: pdflatex crashed when URL contains a single quote
2020-06-07 02:17:45 +09:00
Takeshi KOMIYA
f98987b24e Fix #7791: autodoc: TypeError is raised on documenting singledispatch function 2020-06-07 01:40:23 +09:00