Takeshi KOMIYA
38a21d7dac
Fix #7676 : autodoc: typo in the default value of autodoc_member_order
2020-05-17 01:47:32 +09:00
Jakob Lykke Andersen
3b3dfab915
Merge pull request #7678 from jakobandersen/c_anon_test
...
C, enable tests of anon entities
2020-05-16 17:07:30 +02:00
Jakob Lykke Andersen
4dad6d6262
C, enable tests of anon entities
2020-05-16 16:56:53 +02:00
Takeshi KOMIYA
99f0479855
Merge pull request #7677 from tk0miya/refactor_singledispatch
...
refactor: autodoc: Remove magic mock from singledispatch processing
2020-05-16 23:05:13 +09:00
Takeshi KOMIYA
fcfdc19624
refactor: autodoc: Remove magic mock from singledispatch processing
2020-05-16 22:55:24 +09:00
Jakob Lykke Andersen
2c90418107
C, fix rendering of rooted nested names
...
Also, test doctree generation via astext().
2020-05-16 12:40:20 +02:00
Jakob Lykke Andersen
404557c516
C++, fix rendering of rooted nested names
...
Also, test doctree generation via astext().
2020-05-16 11:55:36 +02:00
Takeshi KOMIYA
b8ecec83d4
Merge pull request #7661 from mondeja/7552
...
Fix autosummary directive wrong processing for invalid modules.
2020-05-16 17:56:03 +09:00
Jakob Lykke Andersen
97accc931d
Merge pull request #7663 from jakobandersen/astext
...
Fix astext() for two Sphinx nodes
2020-05-16 10:09:22 +02:00
Takeshi KOMIYA
0526e0a56c
Merge branch '3.x' into 7650_undecorated_signature
2020-05-16 14:56:54 +09:00
Jakob Lykke Andersen
41971382f8
... and don't break tests.
2020-05-14 19:41:17 +02:00
Álvaro Mondéjar
02d5cd439f
Update 'test_autosummary_generate' test.
2020-05-14 19:16:45 +02:00
Álvaro Mondéjar
1dcfc44ace
Fix automsummary directive wrong processing for invalid modules.
2020-05-14 17:06:12 +02:00
John R. Lenton
61378fe048
Make sphinx.util.typing.stringify render optional unions better
...
Without this change, stringify(Optional[Union[int, str]]) returns
'Union[int, str, None]' rather than the expected 'Optional[...]'.
This change fixes that.
fixes : #7654
2020-05-11 17:20:45 +01:00
Takeshi KOMIYA
3a81ffa79a
Fix #7650 : autodoc: undecorated signature is shown for decorated functions
2020-05-11 01:11:12 +09:00
Takeshi KOMIYA
caddd3a547
Fix test_ext_autodoc: Set testroot to testcases
2020-05-11 00:37:36 +09:00
Kjell Braden
db72c18cf9
add testcase for complex typehintsext.autodoc.typehints
2020-05-10 20:46:29 +09:00
Takeshi KOMIYA
29829bd451
Merge pull request #7623 from tk0miya/7362_autofunction_for_builtins
...
Fix #7362 : autodoc: does not render correct signatures for built-in functions
2020-05-09 18:46:13 +09:00
Takeshi KOMIYA
26f620253d
Merge branch '3.0.x' into 3.x
2020-05-09 18:40:47 +09:00
Takeshi KOMIYA
6c65327be7
Merge pull request #7624 from tk0miya/refactor_autodoc2
...
refactor: autodoc: class processors on autofunction is no longer needed
2020-05-09 18:10:55 +09:00
Takeshi KOMIYA
92e0007179
Fix autodoc: does not render correct signatures for built-in methods
2020-05-09 17:38:28 +09:00
Takeshi KOMIYA
815abf0fea
Fix #7362 : autodoc: does not render correct signatures for built-in functions
2020-05-09 16:37:03 +09:00
Takeshi KOMIYA
e49fc778e4
Merge pull request #7632 from eric-wieser/better-inspect-failure
...
Do not crash if `is_builtin_class_method` is passed a non-type
2020-05-09 14:56:40 +09:00
Eric Wieser
c8a4c79daf
Do not crash if is_builtin_class_method is passed a non-type
2020-05-08 08:54:53 +01:00
Takeshi KOMIYA
62711bc081
Merge pull request #7615 from tk0miya/7610_backslashes
...
Fix #7610 : incorrectly renders consecutive backslashes
2020-05-07 22:57:39 +09:00
Takeshi KOMIYA
560ccf83ae
Fix #7551 : autodoc: failed to import nested class
2020-05-07 02:02:02 +09:00
Takeshi KOMIYA
c4d4ba2835
Fix #7551 : autosummary: a nested class is indexed as non-nested class
2020-05-07 01:57:46 +09:00
Takeshi KOMIYA
24fe05f14f
refactor: autodoc: class processors on autofunction is no longer needed
2020-05-07 01:55:33 +09:00
Takeshi KOMIYA
71b653719d
Fix #7610 : incorrectly renders consecutive backslashes
2020-05-07 00:54:36 +09:00
Takeshi KOMIYA
eef7e4cdd5
test: Rename test_autodoc.py to test_ext_autodoc.py
2020-05-06 13:55:45 +09:00
Takeshi KOMIYA
2ca76d2366
test: Merge test_ext_autodoc.py and test_autodoc.py
2020-05-06 13:47:15 +09:00
Takeshi KOMIYA
8c142fe059
test: Do not use module level state-full fixture
2020-05-06 13:47:13 +09:00
Takeshi KOMIYA
df84a413a7
Add test helper: make_directive_bridge()
2020-05-06 13:35:23 +09:00
Lars Hupfeldt
8bbc7b83c0
Rename fips_safe_md5 to md5
2020-05-05 10:12:41 +02:00
Lars Hupfeldt
1b8415a1c1
Introduce fips_safe_md5, see issue #7611
2020-05-05 00:50:51 +02:00
Takeshi KOMIYA
88e8ebbe19
Close #7596 : py domain: Change a type annotation for variables to a hyperlink
2020-05-04 14:30:20 +09:00
Takeshi KOMIYA
a5036270c8
Merge pull request #7605 from tk0miya/refactor_tests
...
Refactor tests
2020-05-04 01:27:54 +09:00
Takeshi KOMIYA
54bb1f3e62
refactor: test: Pass language_level to cython explicitly
2020-05-04 00:23:06 +09:00
Takeshi KOMIYA
f01ea79092
refactor: Pass a theme instance to LaTeXTranslator
2020-05-03 23:56:59 +09:00
Takeshi KOMIYA
2799d1d727
refactor: Do not pass deprecated parameter in testcase
2020-05-03 23:47:09 +09:00
Takeshi KOMIYA
5bf997c55a
refactor: Do not pass deprecated parameter in testcase
2020-05-03 23:41:54 +09:00
Takeshi KOMIYA
a148a8e7cb
Close #7530 : html: Support nested <kbd> elements
2020-05-02 22:48:57 +09:00
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
Jakob Lykke Andersen
284738227c
C++, parse trailing return types
2020-05-01 22:01:46 +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
25fc47e6b7
Fix #7559 : autodoc: misdetects a sync function is async
2020-05-01 22:05:45 +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
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