Commit Graph

15333 Commits

Author SHA1 Message Date
Takeshi KOMIYA
62fda368d4
Merge pull request #7646 from tk0miya/7629_autofunction_unfriendly_warning
Fix #7629: autodoc: autofunction emits an unfriendly warning
2020-05-16 14:54:51 +09:00
Takeshi KOMIYA
dff45a11b7 Fix #7668: autodoc: wrong retann value is passed to autodoc-proccess-signature 2020-05-16 14:51:18 +09:00
Jakob Lykke Andersen
76f05796a8
Merge pull request #7667 from jakobandersen/cpp_debug
C++, add debug config variables
2020-05-15 20:02:40 +02:00
Jakob Lykke Andersen
5a2942be1e C++, add debug config variables 2020-05-14 22:08:35 +02: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
Jakob Lykke Andersen
a40f1ad473 Fix astext() for two Sphinx nodes 2020-05-14 19:07:04 +02:00
Álvaro Mondéjar
1dcfc44ace Fix automsummary directive wrong processing for invalid modules. 2020-05-14 17:06:12 +02:00
Takeshi KOMIYA
8076307ee1 Fix #7629: autodoc: automethod shows an unfriendly warning 2020-05-13 23:42:44 +09:00
Takeshi KOMIYA
182712fe31 Fix #7629: autodoc: autofunction emits an unfriendly warning 2020-05-13 23:42:29 +09:00
Takeshi KOMIYA
63457c700c Update CHANGES for PR #7655 2020-05-13 22:14:07 +09:00
Takeshi KOMIYA
acae01c87e
Merge pull request #7655 from chipaca/optional-union
Make sphinx.util.typing.stringify render optional unions better
2020-05-13 22:12:43 +09:00
Matthias Geier
810f37c9cf basic CSS: Add hlist margin 2020-05-12 16:25:32 +02:00
Matthias Geier
0dc6e3ac45 basic CSS: move code block margin to outer <div> 2020-05-12 15:56:39 +02:00
Matthias Geier
e0d884f39b basic CSS: ul/ol margins 2020-05-12 15:30:49 +02:00
Matthias Geier
2c8de2b41e basic CSS: remove margin-bottom in last element of <dl> 2020-05-12 14:56:03 +02:00
Matthias Geier
aad6c2d489 basic CSS: Remove margin-bottom from last child in sidebar/topic/admonition 2020-05-12 13:22:53 +02:00
Matthias Geier
1b9e52613e basic CSS: consistent 7px padding on topic and sidebar 2020-05-12 13:08:41 +02:00
Matthias Geier
6e3ae3fc6f basic CSS: remove first/last-child margin not only for <p> 2020-05-12 13:05:23 +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
Álvaro Mondéjar
97bc24500a Fix py35 incompatibility with PosixPath 2020-05-11 00:22:36 +02:00
Álvaro Mondéjar
90dd745cea Fix multiple directory creation on quickstart script called with nested relative path. 2020-05-10 23:59:46 +02:00
Takeshi KOMIYA
3a81ffa79a Fix #7650: autodoc: undecorated signature is shown for decorated functions 2020-05-11 01:11:12 +09:00
Takeshi KOMIYA
1771bbb927
Merge pull request #7652 from tk0miya/refactor_test_ext_autodoc
Fix test_ext_autodoc: Set testroot to testcases
2020-05-11 00:50:44 +09:00
Takeshi KOMIYA
caddd3a547 Fix test_ext_autodoc: Set testroot to testcases 2020-05-11 00:37:36 +09:00
Takeshi KOMIYA
cfadd5f3f3
Merge pull request #7643 from tk0miya/7628_imgconverter_unnecessary
Fix #7628: imgconverter: runs imagemagick unnecessary
2020-05-10 23:12:37 +09:00
Kjell Braden
db72c18cf9 add testcase for complex typehintsext.autodoc.typehints 2020-05-10 20:46:29 +09:00
Kjell Braden
4877a7594c always use separate fields for param and type in ext.autodoc.typehints
this fixes issues where annotations such as `x: typing.Tuple[int, int]`
will be transformed to `:field typing.Tuple[int, int] x:`, which renders
as `*int] x* (**typing.Tuple[int,**) -- `
2020-05-10 20:46:26 +09:00
Takeshi KOMIYA
d47427e94f
Merge pull request #7647 from tk0miya/fix_versionchanged
doc: Fix wrong version info
2020-05-10 16:03:01 +09:00
Takeshi KOMIYA
f35e656ff6
Merge pull request #7645 from mondeja/double-spaces-patch-1
Fix double space inconsistences in code, CHANGES and translations.
2020-05-10 01:17:02 +09:00
Takeshi KOMIYA
b1554ae25a doc: Fix wrong version info 2020-05-10 01:12:39 +09:00
Takeshi KOMIYA
a9586b6a35
Merge pull request #7641 from tk0miya/deprecate_rpartition
Deprecate sphinx.util:rpartition()
2020-05-09 22:34:15 +09:00
Takeshi KOMIYA
d24ff1ad32 Fix #7628: imgconverter: runs imagemagick unnecessary 2020-05-09 22:02:24 +09:00
Takeshi KOMIYA
891c659ced Deprecate sphinx.util:rpartition() 2020-05-09 22:00:04 +09:00
Álvaro Mondéjar
62b44e6456 Fix double space inconsistences in code, CHANGES and translations. 2020-05-09 14:44:39 +02:00
Takeshi KOMIYA
ea81d56b30 Update CHANGES for PR #7640 2020-05-09 18:48:07 +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
f777ad38df
Merge pull request #7638 from tk0miya/7626_missing_CODE_OF_CONDUCT
Fix #7626: release package does not contain ``CODE_OF_CONDUCT``
2020-05-09 18:40:19 +09:00
Takeshi KOMIYA
f73256176f
Merge pull request #7640 from tk0miya/suppress_system_defined_TypeVars
Suppress system defined type vars (for 3.0.x branch)
2020-05-09 18:39:59 +09:00
Takeshi KOMIYA
1fbfb7281e Suppress arguments if all system defined TypeVars on py39 2020-05-09 18:15:41 +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
cf5660cb39 Fix #7626: release package does not contain `CODE_OF_CONDUCT` 2020-05-09 17:48:01 +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
Takeshi KOMIYA
f37fa14e66
Merge pull request #7637 from tk0miya/suppress_system_defined_TypeVars
Suppress arguments if all system defined TypeVars on py39
2020-05-09 14:56:16 +09:00
Takeshi KOMIYA
a48da561ae Suppress arguments if all system defined TypeVars on py39 2020-05-09 14:40:05 +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