Commit Graph

14075 Commits

Author SHA1 Message Date
Takeshi KOMIYA
00a4c13d0b Add new extras_require: lint 2020-01-23 01:42:33 +09: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
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
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
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
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
d82edef388
Merge pull request #7013 from tk0miya/refactor_signature3
refactor: Simplify stringify_signature()
2020-01-11 02:58:46 +09:00
Takeshi KOMIYA
649ccf4931 refactor: replace inspect.Parameter with Parameter 2020-01-11 02:58:31 +09:00
Takeshi KOMIYA
cad1f86dd8 Merge branch '2.0' 2020-01-11 02:56:58 +09:00
Takeshi KOMIYA
f7c9049e9c
Merge pull request #7011 from tk0miya/refactor_glossary5
Fix node_id is not assigned on translation
2020-01-11 02:41:30 +09:00
Takeshi KOMIYA
adaa566cc5 refactor: Simplify stringify_signature() 2020-01-11 02:33:12 +09:00
Takeshi KOMIYA
9ed162921e autodoc: Support Positional-Only Argument separator (PEP-570 compliant) 2020-01-11 02:32:33 +09:00
Takeshi KOMIYA
6fa592f111
Merge pull request #7002 from tk0miya/refactor_Signature2
refactor: Add sphinx.util.inspect.signature()
2020-01-11 01:24:09 +09:00
Takeshi KOMIYA
3e0390720a
Merge pull request #7003 from tk0miya/6999_napoleon_tilde_in_exc_role
Fix #6999: napoleon: fails to parse tilde in :exc: role
2020-01-11 01:21:22 +09:00
Takeshi KOMIYA
a438191304 Fix node_id is not assigned on translation 2020-01-11 00:59:22 +09:00
Takeshi KOMIYA
35a092b7fe SphinxTranslator calls visitor/departure method for super node class 2020-01-10 22:50:43 +09:00
Takeshi KOMIYA
4d64cd1142
Merge pull request #6997 from tk0miya/refactor_glossary4
Update type annotations
2020-01-09 01:17:30 +09:00
Takeshi KOMIYA
1f6819ba42
Merge pull request #6995 from rgommers/download-role
Update documentation of download role for addition of hash in subdir
2020-01-09 00:34:53 +09:00
Takeshi KOMIYA
2f04fda809
Merge pull request #6996 from tk0miya/refactor_kwargs
refactor: Rename var keyword argument to "**kwargs"
2020-01-09 00:34:11 +09:00
Takeshi KOMIYA
6852aa4bf9 Update type annotations 2020-01-09 00:32:39 +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
b14439ca48 Fix #6999: napoleon: fails to parse tilde in :exc: role 2020-01-09 00:15:27 +09:00
Takeshi KOMIYA
ae8fc43024 Update CHANGES for PR #6998 2020-01-08 23:31:30 +09:00
Takeshi KOMIYA
1eac74fa35
Merge pull request #6998 from Modelmat/adobe-illustrator-imgconverter
Adds support for Adobe Illustrator (.ai) to sphinx.ext.imgconverter
2020-01-08 23:27:45 +09:00
Takeshi KOMIYA
f6e7878ec8 Fix flake8 violations 2020-01-08 14:20:09 +09:00
Takeshi KOMIYA
425f018bf4 Merge branch '2.0' 2020-01-08 13:45:41 +09:00
Takeshi KOMIYA
9efd806acb Merge branch '2.3.2' into 2.0 2020-01-08 13:45:08 +09:00
Takeshi KOMIYA
c07c618f1b
Merge pull request #7001 from tk0miya/stop_testing_with_nightly
Stop testing with nightly python
2020-01-08 13:44:30 +09:00
Takeshi KOMIYA
227df4ec7a Stop testing with nightly python
At present, latest typted_ast does not support python-3.9a1 or later.
As a result, nightly python in Travis CI gets errored in nearly running.
This stops to use nightly python for testing temporarily.

refs: https://github.com/python/typed_ast/issues/129
2020-01-08 13:14:20 +09:00
Modelmat
8db96431e4 Adds Adobe Illustrator (.ai) to sphinx.ext.imgconverter 2020-01-08 10:39:22 +11:00