Takeshi KOMIYA
e7a0af807a
Merge branch '2.0'
2020-01-30 23:29:32 +09:00
Takeshi KOMIYA
dcd8f41a77
Add testcase for instance variables without defaults
2020-01-26 01:25:35 +09:00
Takeshi KOMIYA
ecf38edb43
Close #7051 : autodoc: Support instance variables without defaults (PEP-526)
2020-01-25 00:57:36 +09:00
Takeshi KOMIYA
4e257a8084
Merge branch '2.0' into 7023_partial_listed_as_module_members
2020-01-19 23:09:46 +09:00
Takeshi KOMIYA
347e301727
Merge branch '2.0'
2020-01-19 22:47:02 +09:00
Takeshi KOMIYA
a1f6bbf800
Merge pull request #7031 from tk0miya/7023_nested_partial_functions_not_listed
...
#7023 : autodoc: nested partial functions are not listed
2020-01-19 15:49:52 +09:00
Takeshi KOMIYA
53e38ccc30
Fix #7023 : autodoc: partial functions are listed as module members
2020-01-19 15:22:09 +09:00
Takeshi KOMIYA
e908e43f67
Fix #7023 : autodoc: nested partial functions are not listed
2020-01-17 09:15:45 +09:00
Takeshi KOMIYA
7906a6871e
Add testcase a partialmethod not having docstring (refs: #7023 )
2020-01-17 09:11:59 +09:00
Takeshi KOMIYA
cad1f86dd8
Merge branch '2.0'
2020-01-11 02:56:58 +09:00
Takeshi KOMIYA
5867416612
refactor: Add sphinx.util.inspect.signature()
...
As a successor of sphinx.util.inspect.Singnature, this adds
signature() function behaves like `inspect.signature()`. It is
very similar to way of python's inspect module.
In addition, this also adds stringify_annotation() helper to
sphinx.util.inspect module. With these two functions, we can move
to python's Signature object to represent function signatures
perfectly. It's natural design for python developers than ever.
2020-01-09 00:32:07 +09:00
Takeshi KOMIYA
0319faf8f1
Merge branch '2.0'
2020-01-01 14:40:39 +09:00
Takeshi KOMIYA
eaf495c3c4
A happy new year!
2020-01-01 14:27:43 +09:00
Takeshi KOMIYA
7c79a6b8d1
Close #5923 : autodoc: allow not to document inherited members of specific super class
2019-12-01 12:51:28 +09:00
Takeshi KOMIYA
e0eb86224d
Merge branch '2.1.1' into 2.0
2019-06-10 22:31:18 +09:00
Takeshi KOMIYA
21be789d4d
Revert "Fix #1063 : autodoc: automodule directive handles undocumented module level variables"
...
This reverts commit 69d93c967c
(without
CHANGES).
2019-06-10 21:40:11 +09:00
Takeshi KOMIYA
81e2e1d971
test: Update testcase for autoclass_content and autodoc_docstring_signature
2019-06-03 23:20:33 +09:00
Takeshi KOMIYA
f7851b62e0
test: Update testcase for autoclass_content
2019-06-03 23:20:33 +09:00
Takeshi KOMIYA
f4114bb794
test: Update testcase for autodoc_inherit_docstrings
2019-06-03 22:34:35 +09:00
Takeshi KOMIYA
42e9fd896e
test: Move class inheritance samples into target.inheritance module
2019-06-03 22:34:33 +09:00
Takeshi KOMIYA
c8554e7673
test: Move testcases for autodoc events to test_ext_autodoc_events
2019-06-03 01:32:36 +09:00
Takeshi KOMIYA
7de8c63407
test: Move testcases for autodoc configurations to test_ext_autodoc_configs
2019-06-03 01:28:56 +09:00
Takeshi KOMIYA
8da90bbe24
test: Update testcase for autodoc-process-docstring
2019-06-03 01:16:20 +09:00
Takeshi KOMIYA
e274ae87a5
test: Update testcase for cut_lines()
2019-06-03 01:16:20 +09:00
Takeshi KOMIYA
3f617a4a9b
test: Update testcase for between()
2019-06-03 01:16:20 +09:00
Takeshi KOMIYA
6cbee7de3c
test: Move descriptor example to independent file
2019-06-03 00:38:01 +09:00
Takeshi KOMIYA
afbf6d811d
Migrate to py3 style type annotation: sphinx.util
2019-06-02 17:51:20 +09:00
Takeshi KOMIYA
69d93c967c
Fix #1063 : autodoc: automodule directive handles undocumented module level variables
2019-06-01 23:18:37 +09:00
Takeshi KOMIYA
0ea380eddd
Close #6361 : autodoc: Add autodoc_typehints to suppress typehints from signature
2019-05-26 00:35:24 +09:00
Takeshi KOMIYA
277aba935d
Close #6325 : autodoc: Support attributes in __slots__
2019-05-22 09:56:46 +09:00
Takeshi KOMIYA
e288999933
Close #744 : autodoc: Support abstractmethod
2019-05-15 00:01:00 +09:00
Takeshi KOMIYA
19a006f620
Merge branch '2.0' into refactor_py_domain3
2019-05-12 18:29:05 +09:00
Takeshi KOMIYA
b708f7b82f
autodoc: Add PropertyDocumenter to detect properties
2019-05-12 15:59:57 +09:00
Takeshi KOMIYA
1ea23e14df
Fix #6165 : autodoc: `tab_width
` setting of docutils has been ignored
2019-04-25 21:44:44 +09:00
Takeshi KOMIYA
435ef05b99
Close #4777 : autodoc: Support coroutine
2019-04-23 01:55:48 +09:00
Takeshi KOMIYA
a285220778
Merge branch '2.0' into refactor_py_domain2
2019-04-23 01:16:42 +09:00
Takeshi KOMIYA
cc7a81419f
Merge pull request #6289 from alsrgv/add_imported_members_directive
...
Add imported-members to the directive whitelist
2019-04-15 10:24:08 +09:00
Alex Sergeev
b7f6657dd1
Address feedback
2019-04-13 22:09:01 -10:00
Alex Sergeev
15daf84f1a
Add support for bound methods posing as functions in the module
2019-04-13 20:57:24 -10:00
Alex Sergeev
4bad5bd419
Address feedback
2019-04-13 20:54:20 -10:00
Takeshi KOMIYA
aca8122d04
autodoc: Use new options for py:method directive
2019-04-13 23:50:07 +09:00
Takeshi KOMIYA
446bee8c66
refactor: test_autodoc
2019-02-27 15:08:44 +09:00
Takeshi KOMIYA
8a391d1781
Merge branch '1.8'
2019-02-17 22:37:23 +09:00
Takeshi KOMIYA
08cd23a0bb
Fix #6047 : autodoc: `autofunction
` emits a warning for method objects
2019-02-17 18:23:14 +09:00
Takeshi KOMIYA
686486498c
Closes #1148 : autodoc: Add autodecorator directive for decorators
2019-02-15 02:14:38 +09:00
Takeshi KOMIYA
ad517af81c
Merge branch 'master' into 5459_autodoc_default_options_accepts_True
2019-02-11 12:34:59 +09:00
Takeshi KOMIYA
b0148c6921
Closes #5459 : autodoc: autodoc_default_options accepts True as a value
2019-02-11 02:03:09 +09:00
Takeshi KOMIYA
a6ef8190ce
Add testcase for mocked objects in autodoc
2019-02-11 01:46:38 +09:00
Takeshi KOMIYA
76e9f57c2e
Merge branch '1.8'
2019-01-02 16:16:25 +09:00
Takeshi KOMIYA
1b1ebd2c75
A happy new year!
2019-01-02 16:00:30 +09:00