Joel Nothman
4e0ff5cac2
Fix attempt with new test root
2020-07-08 22:36:40 +10:00
Joel Nothman
72ca2bdffc
Add autosummary_filename_map config to avoid clashes
2020-07-08 16:51:57 +10:00
Takeshi KOMIYA
6d053a683e
Fix #7894 : gettext: Wrong source info is shown when using rst_epilog
2020-07-08 02:32:46 +09:00
Yuxin Wu
d20f462482
rm __init__.py
2020-07-05 12:04:25 -07:00
Yuxin Wu
85fd0d870d
show docs for decorated special functions
2020-07-05 12:04:25 -07:00
Takeshi KOMIYA
21242965e0
napoleon: Adjust test expectation for namedtuple in py37+
2020-07-06 01:55:04 +09:00
Takeshi KOMIYA
1a223209f2
Merge branch '3.x'
2020-07-05 19:56:21 +09:00
Jakob Lykke Andersen
09e057edf2
Merge pull request #7906 from jakobandersen/noindexentry
...
Add :noindexentry: option
2020-07-05 09:25:18 +02:00
Jakob Lykke Andersen
18b3e3c450
Add tests for noindexentry
2020-07-05 09:17:20 +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
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
ec3754bd94
Merge branch '3.x'
2020-07-05 01:32:54 +09:00
Takeshi KOMIYA
fa9dc7c698
Merge tag 'v3.1.1'
2020-07-05 00:13:23 +09:00
Takeshi KOMIYA
44f4b2ad97
Merge tag 'v3.1.0'
2020-07-05 00:10:47 +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
d6ca2f97be
Fix #7886 : autodoc: TypeError is raised on mocking generic-typed classes
2020-06-30 01:16:38 +09:00
Takeshi KOMIYA
e4c3e24e85
Merge pull request #7832 from cool-RR/2020-06-11-raise-from
...
Fix exception causes all over the codebase
2020-06-29 02:26:53 +09:00
Takeshi KOMIYA
c4f0d70d17
Merge branch '3.x' into 7865_extract_abbr
2020-06-29 02:04:40 +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
4e739b85ee
Fix #7850 : autodoc: KeyError is raised for invalid mark up
2020-06-26 20:49:22 +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
Jakob Lykke Andersen
5414708343
C,C++: support parameterized GNU style attributes
...
Fixes sphinx-doc/sphinx#7853
2020-06-20 09:55:35 +02:00
Ram Rachum
53c1dff91c
Fix exception causes all over the codebase
2020-06-14 14:37:16 +03:00
Takeshi KOMIYA
941e340510
Merge branch '3.1.x' into 7807_contextmanager
2020-06-14 12:32:20 +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
eb8f3b539a
Revert "ext.napoleon: Emit type annotations at the start of .. attribute::"
...
This reverts commit 9d7171899a .
2020-06-13 16:28:58 +09:00
Takeshi KOMIYA
cd7d3c0ddd
Fix #7808 : autodoc: Warnings raised on variable and attribute type annotations
2020-06-10 22:58:39 +09:00
Keewis
15b443c074
add a test for combined args and kwargs
2020-06-08 17:17:58 +02:00
Takeshi KOMIYA
8bd5f8b214
autodoc: Support TypeVar (refs: #7722 )
2020-06-06 12:45:20 +09:00
Takeshi KOMIYA
07d19ebe02
Merge pull request #7760 from Cielquan/feature/coverage_print_missing_as_warning
...
coverage ext - config to log missing coverage
2020-06-06 01:13:41 +09:00
Cielquan
cc1f15246c
added test for show_missing_items True in quiet mode
2020-06-05 09:26:53 +02:00
Takeshi KOMIYA
bd2caee82f
Merge pull request #7716 from tk0miya/3610_support_overload
...
Close #3610 : autodoc: Support overloaded functions
2020-06-05 02:22:29 +09:00
Takeshi KOMIYA
dce45413e6
Merge pull request #7762 from tk0miya/7247_linkcheck_request_headers
...
Close #7247 : linkcheck: Add linkcheck_request_headers
2020-06-05 01:17:31 +09:00
Takeshi KOMIYA
1b28f6f027
Merge pull request #7770 from bubba/option-directive-square-brackets
...
Let option directive support args in the form of foo[=bar]
2020-06-04 00:59:11 +09:00
Luke Lau
1e7d9269e9
Let option directive support args in the form of foo[=bar]
...
This slightly tweaks the regex so that command line flags of the form
foo[=N] are properly split up. This is useful for any programs that can
take `--foo` as a flag on its own as well as with an extra argument
`--foo=12`.
2020-06-03 16:35:00 +01:00
Takeshi KOMIYA
068b9b5738
Merge branch '3.x'
2020-06-04 00:18:30 +09:00
Jakob Lykke Andersen
afb4d883f7
C++, parse (trailing) requires clauses
...
Fixes sphinx-doc/sphinx#7295
2020-06-02 19:27:01 +02:00
Jakob Lykke Andersen
590408e77c
Merge pull request #7769 from jakobandersen/c_cpp_display_string_ops
...
C and C++, don't crash during stringification
2020-06-02 18:50:49 +02:00
Jakob Lykke Andersen
e37d080729
C and C++, don't crash during stringification
...
Specifically when generating display strings for unary expressions and fold
expressions.
Fixes sphinx-doc/sphinx#7763
2020-06-02 18:14:04 +02:00
Takeshi KOMIYA
49de4ab1a1
Support overloaded constructors (__call__, __init__ and __new__)
2020-06-02 00:44:07 +09:00
Takeshi KOMIYA
a7725ad8ca
Close #7247 : linkcheck: Add linkcheck_request_headers
2020-06-01 01:48:46 +09:00
Cielquan
42b755db2e
added test for show_missing_items True
2020-05-31 18:38:21 +02:00
Takeshi KOMIYA
fb2f777079
Close #3610 : autodoc: Support overloaded functions
2020-05-31 23:59:32 +09:00
Takeshi KOMIYA
640bb2e586
pycode: Detect @overload decorators
2020-05-31 23:22:20 +09:00
Takeshi KOMIYA
a59f83b6bd
Add sphinx.util.inspect:signature_from_ast()
2020-05-31 23:22:20 +09:00
Takeshi KOMIYA
c063c9c0fe
Merge pull request #7757 from tk0miya/7756_posonlyargs
...
Fix #7756 : py domain: The default value for posonlyarg is not shown
2020-05-31 23:21:21 +09:00
Takeshi KOMIYA
3c5a9442c2
Merge branch '3.x' into 4422_support_GenericAlias
2020-05-31 14:49:13 +09:00