Commit Graph

4517 Commits

Author SHA1 Message Date
Takeshi KOMIYA
5d8b94cd9e Merge branch '3.x' into 7901_resolve_types_for_overloaded_funcs 2020-07-12 14:15:36 +09:00
Takeshi KOMIYA
99a6633d7c Merge pull request #7925 from tk0miya/7902_globaltoc_maxdepth
Close #7902: html theme: Add a new option globaltoc_maxdepth
2020-07-12 14:13:07 +09:00
Takeshi KOMIYA
17a5a29f1e Fix #7935: autodoc: A default value inspect._empty conseals signatures
A function signature is not shown when the function has a parameter
having ``inspect._empty`` as its default value because Signature class
validates function signatures on instantiation.
2020-07-12 14:03:28 +09:00
Takeshi KOMIYA
e31fce0766 Close #7902: html theme: Add a new option globaltoc_maxdepth 2020-07-11 23:11:59 +09:00
Takeshi KOMIYA
e2c6b4230e Merge branch '3.x' into 7691_HEAD_requests 2020-07-11 22:39:12 +09:00
Takeshi KOMIYA
d0416e7f71 Merge pull request #7930 from tk0miya/7928_resolve_typehints_for_attrs
Fix #7928: py domain: failed to resolve a type annotation for the attribute
2020-07-11 22:38:20 +09:00
Takeshi KOMIYA
6dfbc5108e Close #7849: html: Add html_codeblock_linenos_style 2020-07-11 20:59:38 +09:00
Takeshi KOMIYA
916cd4c844 Fix #7901: autodoc: annotations for overloaded functions are not resolved
So far, type annotations for overloaded functions are not resolved
because they are obtained from AST directly.  This tries to evaluate
them using a context of its function or method.
2020-07-11 12:49:24 +09:00
Takeshi KOMIYA
bd510c3be2 Fix #7691: linkcheck: HEAD requests are not used for checking
sphinx.util.requests:head() sends a GET requests instead of HEAD...
2020-07-10 22:12:58 +09:00
Takeshi KOMIYA
fb7b0ee571 Fix #7619: Duplicated node IDs are generated if node has multiple IDs 2020-07-09 23:15:56 +09:00
Takeshi KOMIYA
4410668776 Fix #7928: py domain: failed to resolve a type annotation for the attribute 2020-07-09 01:49:34 +09:00
Takeshi KOMIYA
6d053a683e Fix #7894: gettext: Wrong source info is shown when using rst_epilog 2020-07-08 02:32:46 +09:00
Takeshi KOMIYA
44ee514fbe Update CHANGES for PR #7910 2020-07-06 23:36:17 +09:00
Takeshi KOMIYA
fc7d805b5c Merge branch '3.1.x' into 3.x 2020-07-05 19:46:30 +09:00
Takeshi KOMIYA
faae257a9d Bump version 2020-07-05 19:45:31 +09:00
Takeshi KOMIYA
1cb5fa2f6a Bump to 3.1.2 final 2020-07-05 19:43:41 +09:00
Matthias Geier
c40cb79461 Update CHANGES for PR #7878 2020-07-05 10:43:36 +02:00
Jakob Lykke Andersen
09e057edf2 Merge pull request #7906 from jakobandersen/noindexentry
Add :noindexentry: option
2020-07-05 09:25:18 +02:00
Takeshi KOMIYA
fdd1aaf770 Merge branch '3.1.x' into 3.x 2020-07-05 16:14:17 +09:00
Takeshi KOMIYA
9b74e6cd67 autodoc: the signature of base function will be shown for decorated functions 2020-07-05 03:08:27 +09:00
Jakob Lykke Andersen
c668500a4b Add :noindexentry: option
Fixes sphinx-doc/sphinx#7052
2020-07-04 19:34:00 +02:00
Takeshi KOMIYA
cc4534d12f Update CHANGES for PR #7852 2020-07-05 02:12:17 +09:00
Takeshi KOMIYA
1f002dac6e Merge pull request #7889 from tk0miya/7866_mocking_generic_types
Fix #7886: autodoc: TypeError is raised on mocking generic-typed classes
2020-07-05 01:34:18 +09:00
Takeshi KOMIYA
9fd9edebb4 Merge branch '3.1.x' into 3.x 2020-07-04 23:44:52 +09:00
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