Commit Graph

14407 Commits

Author SHA1 Message Date
Takeshi KOMIYA
045630ec85 Deprecate sphinx.util.inspect:safe_getmembers() 2020-01-25 23:21:33 +09:00
Jakob Lykke Andersen
84bd44d04a C++, fix cross references in compound directives
Fixes sphinx-doc/sphinx#5078
2020-01-25 11:43:26 +01:00
Jakob Lykke Andersen
80e08fe8fa C++, make lookup key point to correct overloads 2020-01-25 11:42:49 +01:00
Takeshi KOMIYA
5397664d42 Add a new extension: sphinx.ext.autodoc.typehints 2020-01-25 17:56:39 +09:00
Takeshi KOMIYA
2e22e96061 Add new event: :event:object-description-transform 2020-01-25 17:12:41 +09:00
Takeshi KOMIYA
33fcd393ab Fix #6785: py domain: :py:attr: is able to refer properties again 2020-01-25 13:55:27 +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
703303139c
Merge pull request #7048 from tk0miya/extras_require_lint
Add new extras_require: lint
2020-01-23 23:50:22 +09:00
Takeshi KOMIYA
f8fc6075ba
Merge pull request #7049 from tk0miya/test_with_docutils-0.16
Test with docutils-0.16
2020-01-23 23:48:40 +09:00
Takeshi KOMIYA
9468385acc
Merge pull request #7047 from tk0miya/test_with_nightly_python_again
Test with nightly python again (refs: #7001)
2020-01-23 23:48:02 +09:00
Jakob Lykke Andersen
bcbb167b0d Add backslash line continuation to productionlist
Fixes sphinx-doc/sphinx#1027
2020-01-22 22:51:22 +01:00
Jakob Lykke Andersen
c084c3f124 Implement scoping for productionlist
Fixes sphinx-doc/sphinx#3077
2020-01-22 22:32:30 +01:00
Takeshi KOMIYA
00a4c13d0b Add new extras_require: lint 2020-01-23 01:42:33 +09:00
Takeshi KOMIYA
ee28dace61 Use HEAD of html5lib on testing with py39 2020-01-23 01:11:51 +09:00
Takeshi KOMIYA
0bca63d611 Test with docutils-0.16 2020-01-23 00:50:57 +09:00
Takeshi KOMIYA
4ec24172eb Test with nightly python again (refs: #7001) 2020-01-23 00:39:43 +09:00
Jakob Lykke Andersen
83a94e8a88
Merge pull request #7039 from jakobandersen/cpp_role_target_checking
C++, test role target checks and fix two cases
2020-01-21 18:44:56 +01:00
Jakob Lykke Andersen
204564549c
Merge pull request #7038 from jakobandersen/cpp_role_target_checking
C++, test role target checks and fix two cases
2020-01-20 20:05:16 +01:00
Jakob Lykke Andersen
5cf28abd14 C++, hax because of Windows path separators 2020-01-20 19:52:49 +01:00
Jakob Lykke Andersen
6d7ff482f6 C++, test role target checks and fix two cases 2020-01-20 19:40:00 +01:00
Takeshi KOMIYA
c4ed75752b
Merge pull request #7036 from tk0miya/7023_partial_listed_as_module_members
Fix #7023: autodoc: partial functions are listed as module members
2020-01-19 23:31:15 +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
334d23f880
Merge pull request #7016 from tk0miya/7006_MenuSelection_BULLET_CHARACTER
refactor: Make a bullet character for :menuselection: a constant
2020-01-19 23:07:33 +09:00
Takeshi KOMIYA
9eebb40440
Merge pull request #7020 from tk0miya/7019_gettext_absolute_paths
Fix #7019: gettext: Absolute path used in message catalogs
2020-01-19 23:06:58 +09:00
Takeshi KOMIYA
816a06564d
Merge pull request #7017 from tk0miya/priority_of_event_handlers
Support priority of event handlers
2020-01-19 22:58:03 +09:00
Takeshi KOMIYA
9ad85b497e
Merge branch '2.0' into 7019_gettext_absolute_paths 2020-01-19 22:48:44 +09:00
Takeshi KOMIYA
347e301727 Merge branch '2.0' 2020-01-19 22:47:02 +09:00
Takeshi KOMIYA
ad271f4ca3
Merge pull request #7033 from webknjaz/bugfixes/issue-templates
Replace question issue placeholder with a button
2020-01-19 22:45:37 +09:00
Takeshi KOMIYA
eb273fdc08
Merge pull request #7037 from tk0miya/test_with_pytest532
Test with pytest-5.3.2
2020-01-19 22:41:45 +09:00
Takeshi KOMIYA
9a6709f0f9 Test with pytest-5.3.2
It seems our CI build has been broken since pytest-5.3.3.  This
pins it to 5.3.2 to fix it temporarily.
2020-01-19 22:33:31 +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
2adc12edb3
Merge pull request #7030 from tk0miya/7023_testcase_for_partialmethod_not_having_docstring
Add testcase a partialmethod not having docstring (refs: #7023)
2020-01-19 15:46:16 +09:00
Takeshi KOMIYA
53e38ccc30 Fix #7023: autodoc: partial functions are listed as module members 2020-01-19 15:22:09 +09:00
Sviatoslav Sydorenko
3cf233bb6a
Replace question issue placeholder with a button
Ref: https://help.github.com/en/github/building-a-strong-community/configuring-issue-templates-for-your-repository#configuring-the-template-chooser
2020-01-18 02:30:39 +01: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
2e338aa5cd Support priority of event handlers 2020-01-16 17:04:48 +09:00
Takeshi KOMIYA
38ef16945e
Merge pull request #7021 from tk0miya/6754_docs_for_nodes_in_confpy
Warn about dangers of inheriting nodes in conf.py (2)
2020-01-13 15:03:41 +09:00
Takeshi KOMIYA
aafaa92237 doc: Use attention for notes about nodes in conf.py 2020-01-13 14:51:04 +09:00
Takeshi KOMIYA
eec9c59fc5 Fix #7019: gettext: Absolute path used in message catalogs 2020-01-13 14:25:51 +09:00
Takeshi KOMIYA
ef811532c9
Merge pull request #6984 from tk0miya/2755_type_comment_support
Close #2755: autodoc: Support type_comment style annotation
2020-01-13 13:35:41 +09:00
Takeshi KOMIYA
ffdfb6cb87 Close #2755: autodoc: Support type_comment style annotation
Note: python3.8+ or typed_ast is required
2020-01-13 13:23:45 +09:00
Takeshi KOMIYA
74a5f350a1 Add new event: autodoc-before-process-signature 2020-01-13 13:16:59 +09:00
Takeshi KOMIYA
729ffa1fcd Add sphinx.pycode.ast.parse() and unparse() 2020-01-13 13:15:33 +09:00
Takeshi KOMIYA
4cecd700e0
Merge pull request #7009 from tk0miya/refactor_SphinxTranslator2
SphinxTranslator calls visitor/departure method for super node class
2020-01-11 21:42:20 +09:00
Takeshi KOMIYA
0fb3fe5fcc
Merge branch '2.0' into refactor_SphinxTranslator2 2020-01-11 21:33:54 +09:00
Takeshi KOMIYA
f169560395
Merge pull request #6979 from tk0miya/6830_autodoc_private
Close #6830: autodoc: consider a member private if docstring contains :private:
2020-01-11 15:14:52 +09:00
Takeshi KOMIYA
b6b2ebd756
Merge pull request #7012 from tk0miya/support_pep570
autodoc: Support Positional-Only Argument separator (PEP-570 compliant)
2020-01-11 11:32:47 +09:00
Takeshi KOMIYA
91e44da836
Merge pull request #7014 from tk0miya/refactor_inspect
refactor: replace inspect.Parameter with Parameter
2020-01-11 11:32:11 +09:00
Takeshi KOMIYA
af27f7d545 refactor: Make a bullet character for :menuselection: a constant
refs: #7006
2020-01-11 11:21:09 +09:00