Commit Graph

15333 Commits

Author SHA1 Message Date
Takeshi KOMIYA
1c3179300a
Merge pull request #7583 from eric-wieser/fix-napoleon
ext.napoleon: Emit type annotations at the start of `.. attribute::`
2020-05-02 12:33:59 +09:00
Takeshi KOMIYA
690447d48f
Merge pull request #7586 from tk0miya/6857_enum_classmethod
Fix #6857: autodoc: failed to detect a classmethod on Enum class
2020-05-02 12:30:32 +09:00
Takeshi KOMIYA
d184859ccd
Merge pull request #7589 from tk0miya/7588_autosummary_template_suffix
Fix #7588: autosummary: allow any template suffix
2020-05-02 10:42:35 +09:00
Jakob Lykke Andersen
78491b1244
Merge pull request #7591 from jakobandersen/cpp_trailing_return
C++, parse trailing return types
2020-05-01 22:28:52 +02:00
Jakob Lykke Andersen
284738227c C++, parse trailing return types 2020-05-01 22:01:46 +02:00
Jakob Lykke Andersen
919e6716cf
Merge pull request #7590 from jakobandersen/cpp_udl
C++, parse expressions with user-defined literals
2020-05-01 20:48:18 +02:00
Jakob Lykke Andersen
bfc3200295 C++, parse expressions with user-defined literals
Fixes sphinx-doc/sphinx#7294
2020-05-01 20:38:51 +02:00
Takeshi KOMIYA
9256daaa77
Merge branch '3.x' into 6857_enum_classmethod 2020-05-02 01:48:01 +09:00
Takeshi KOMIYA
2e506c5ab4
Merge pull request #7571 from tk0miya/7559_misdetects_async
Fix #7559: autodoc: misdetects a sync function is async
2020-05-02 01:46:02 +09:00
Takeshi KOMIYA
b5b9ddc201 Fix #7588: autosummary: allow any template suffix 2020-05-02 01:43:40 +09:00
Takeshi KOMIYA
25fc47e6b7 Fix #7559: autodoc: misdetects a sync function is async 2020-05-01 22:05:45 +09:00
Takeshi KOMIYA
017af4ce2e
Merge pull request #7577 from tk0miya/7575_doctest_print
doc: Fix examples of doctest extensions are still in py2 (refs: #7575)
2020-05-01 21:03:06 +09:00
Takeshi KOMIYA
d612ef8f0b Fix #6857: autodoc: failed to detect a classmethod on Enum class 2020-04-30 22:54:49 +09:00
Takeshi KOMIYA
5460ad6925 Update CHANGES for PR #7581 2020-04-30 22:12:24 +09:00
Takeshi KOMIYA
b19ef9d51e
Merge pull request #7584 from eric-wieser/fix-colon-parsing
ext.napoleon: Do not consume colons within inline code
2020-04-30 22:11:33 +09:00
Takeshi KOMIYA
ca082f6893
Merge pull request #7578 from tk0miya/7570_autosummary_template_option
Fix #7570: autosummary: template option is broken
2020-04-30 21:53:42 +09:00
Takeshi KOMIYA
2377c364a7
Merge pull request #7580 from tk0miya/7469_process-dostring_unexpectedly_cached
Fix #7469: autodoc: The change of autodoc-process-docstring is cached
2020-04-30 21:48:00 +09:00
Eric Wieser
453fe55dc9 ext.napoleon: Do not consume colons within inline code
Fixes gh-7581
2020-04-30 08:57:24 +01:00
Eric Wieser
9d7171899a ext.napoleon: Emit type annotations at the start of .. attribute:: 2020-04-29 19:03:24 +01:00
Takeshi KOMIYA
4a944d4ff2 autodoc: The change of autodoc-process-docstring is cached (refs: #7469) 2020-04-30 01:36:16 +09:00
Takeshi KOMIYA
0bf9011509 Fix #7570: autosummary: template option is broken 2020-04-30 00:14:59 +09:00
Takeshi KOMIYA
155cb87452 doc: Fix examples of doctest extensions are still in py2 (refs: #7575) 2020-04-29 22:46:44 +09:00
Takeshi KOMIYA
d59584f409 Update CHANGES for PR #7572 2020-04-28 23:02:21 +09:00
Takeshi KOMIYA
db4cced99d
Merge pull request #7572 from mgeier/eqno-alignment
Align equation numbers at the right margin
2020-04-28 23:01:24 +09:00
Takeshi KOMIYA
a8a2d59403
Merge pull request #7561 from tk0miya/7143_typing.final
Support @final decorator
2020-04-28 22:57:56 +09:00
Takeshi KOMIYA
a29fe6904f
Merge pull request #7557 from tk0miya/6588_inherited_decorated_method
Fix #6588: autodoc: Decorated inherited method has no documentation
2020-04-28 22:57:01 +09:00
Takeshi KOMIYA
13113fc0b6 Fix #6588: autodoc: Decorated inherited method has no documentation 2020-04-28 22:33:40 +09:00
Takeshi KOMIYA
1f5dab6446
Merge pull request #7573 from tk0miya/changes
Fix CHANGES: some bugfix entries are categorized as new features
2020-04-28 22:31:32 +09:00
Takeshi KOMIYA
4573100abf Fix CHANGES: some bugfix entries are categorized as new features 2020-04-28 02:11:48 +09:00
Matthias Geier
7fc81e2f09 Align equation numbers at the right margin
Closes #2785.
2020-04-27 18:49:06 +02:00
Takeshi KOMIYA
ba47b7055b Fix CHANGES for PR #7569 2020-04-28 01:42:11 +09:00
Takeshi KOMIYA
8c35cfa38a Merge branch '3.0.x' into 3.x 2020-04-28 01:41:52 +09:00
Takeshi KOMIYA
153682dd4c Update CHANGES for PR #7569 2020-04-28 01:40:56 +09:00
Takeshi KOMIYA
1c4a1ef87c Update CHANGES for PR #7569 2020-04-28 01:34:03 +09:00
Takeshi KOMIYA
a527c2ae30
Merge pull request #7569 from eric-wieser/fix-bad-stringify
Do not emit type arguments twice
2020-04-28 01:32:52 +09:00
Takeshi KOMIYA
dfdc70546f
Merge pull request #7566 from jakobandersen/merge_c_array_declarator
Merge c array declarator PR into 3.x
2020-04-28 01:26:28 +09:00
Takeshi KOMIYA
767864b0f1 Close #7143: autodoc: Support final classes and methods 2020-04-28 01:24:41 +09:00
Takeshi KOMIYA
87308d9607 Close #7143: py domain: Add :final: option to py:*: directives 2020-04-28 01:24:29 +09:00
Takeshi KOMIYA
9c98b92c6a pycode: Detect @final decorators 2020-04-28 01:24:29 +09:00
Takeshi KOMIYA
f388114d10
Merge pull request #7560 from tk0miya/refactor_pycode_parser
Refactor pycode parser
2020-04-28 01:24:10 +09:00
Takeshi KOMIYA
a3ddc73607 Update CHANGES for PR #7543 2020-04-28 01:19:14 +09:00
Takeshi KOMIYA
87a85a75e6
Merge pull request #7543 from mgeier/table-margin
basic theme: Add top and bottom margins to tables
2020-04-28 01:18:43 +09:00
Eric Wieser
46372726de Do not emit type arguments twice
Fixes gh-7567
2020-04-27 15:22:44 +01:00
Takeshi KOMIYA
19568815c1 Update CHANGES for #7487 2020-04-27 22:50:03 +09:00
Takeshi KOMIYA
1cffff2a30
Merge pull request #7487 from thomascobb/singledispatch_autofunction
Support singledispatch autodoc directives
2020-04-27 22:48:02 +09:00
Jakob Lykke Andersen
b1e732fd8f Merge branch 'c_array_declarator' into merge_c_array_declarator 2020-04-27 15:09:07 +02:00
Takeshi KOMIYA
7a40ed0f27 Update CHANGES for PR #7564 2020-04-27 21:57:44 +09:00
Takeshi KOMIYA
7888600f96
Merge pull request #7564 from eric-wieser/fix-missing-__annotations__
autodoc: Fix a logic error that causes annotations not to be shown for descriptors
2020-04-27 21:54:17 +09:00
Eric Wieser
b7ce4a4c13 Fix a logic error that causes annotations not to be shown for descriptors
This `if not self._datadescriptor` was originally here before type annotations were supported, to prevent showing `descr4 = <_Descriptor ...>` in the docs.

When type annotations were added, the support for appending `:type:` was put in the wrong place.
It should have been outside this if, not within it.
2020-04-27 12:57:39 +01:00
Tom Cobb
65c9df8303 Strip Singledispatch*Documenter down further 2020-04-27 08:14:21 +01:00