Commit Graph

4040 Commits

Author SHA1 Message Date
Takeshi KOMIYA
41032572a5 Merge branch '2.0' 2020-02-01 11:17:03 +09:00
Takeshi KOMIYA
b73cc5652a Update deprecation list 2020-01-31 01:59:24 +09:00
Takeshi KOMIYA
86f30f0e54 Merge pull request #6964 from tk0miya/refactor_latex
Refactor latex
2020-01-31 01:56:14 +09:00
Takeshi KOMIYA
52afc79e1f Merge branch '2.0' into refactor_latex 2020-01-31 01:18:57 +09:00
Takeshi KOMIYA
d52f3db148 Merge branch '2.0' into 6889_autodoc_trailing_comma 2020-01-31 01:12:18 +09:00
Takeshi KOMIYA
13be2710ad Merge pull request #7073 from tk0miya/7055_redirect_should_be_warning
Fix #7055: linkcheck: redirect is treated as an error
2020-01-31 01:04:37 +09:00
Takeshi KOMIYA
e4bc1a48ac Fix #6889: autodoc: Trailing comma in :members:: option causes cryptic warning 2020-01-31 00:42:27 +09:00
Takeshi KOMIYA
92c5c19f72 Merge pull request #7066 from tk0miya/6899_apidoc_private_members
Fix #6899: apidoc: private members are not shown even if --private given
2020-01-30 23:33:51 +09:00
Takeshi KOMIYA
e7a0af807a Merge branch '2.0' 2020-01-30 23:29:32 +09:00
Takeshi KOMIYA
67fefcc6f9 Merge branch '2.0' into 6418_autodoc_typehints_description 2020-01-30 23:19:45 +09:00
Takeshi KOMIYA
09cf37eebe Fix #6899: apidoc: private members are not shown even if --private given 2020-01-30 23:17:59 +09:00
Takeshi KOMIYA
041435024f Fix #7055: linkcheck: redirect is treated as an error 2020-01-30 23:08:00 +09:00
Jakob Lykke Andersen
3231b84827 C++, suppress some warnings that can never be fixed 2020-01-26 14:19:14 +01:00
Jakob Lykke Andersen
82a465c3b6 Merge pull request #7053 from jakobandersen/productionlist
Production list scoping and line continuation
2020-01-25 17:18:04 +01:00
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
ecf38edb43 Close #7051: autodoc: Support instance variables without defaults (PEP-526) 2020-01-25 00:57:36 +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
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
6d7ff482f6 C++, test role target checks and fix two cases 2020-01-20 19:40:00 +01: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
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
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
2e338aa5cd Support priority of event handlers 2020-01-16 17:04:48 +09:00
Takeshi KOMIYA
eec9c59fc5 Fix #7019: gettext: Absolute path used in message catalogs 2020-01-13 14:25:51 +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
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
cad1f86dd8 Merge branch '2.0' 2020-01-11 02:56:58 +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
35a092b7fe SphinxTranslator calls visitor/departure method for super node class 2020-01-10 22:50:43 +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
af2a3c0dde Merge branch '2.0' 2020-01-08 01:37:53 +09:00
Takeshi KOMIYA
05daa3c7ce Add sphinx.util.typing:stringify() to represent annotations as string 2020-01-05 01:13:27 +09:00
Takeshi KOMIYA
2f7823e1a6 Merge pull request #6985 from tk0miya/6696_scale_not_working_for_SVG
Fix #6696: html: scale option of image/figure directive not working for SVG
2020-01-04 22:36:42 +09:00
Takeshi KOMIYA
b968bb91e9 Close #6830: autodoc: consider a member private if docstring has "private" metadata 2020-01-04 13:28:07 +09:00
Takeshi KOMIYA
e339c39e88 Fix #6986: apidoc: misdetects module name for .so file inside module 2020-01-03 09:44:01 +09:00
Takeshi KOMIYA
9cc25367b8 Fix #6696: html: scale option of image/figure directive not working for SVG
Note: imagesize-1.2.0 or above is required
2020-01-03 00:20:05 +09:00
Takeshi KOMIYA
7123f4038a Fix #6559: Wrong node-ids are generated in glossary directive 2020-01-02 22:03:39 +09:00