Commit Graph
3958 Commits
Author SHA1 Message Date
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 9ad85b497e Merge branch '2.0' into 7019_gettext_absolute_paths 2020-01-19 22:48:44 +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 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 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 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 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
Takeshi KOMIYA 2f36d792f3 Update CHANGES for PR #5230 2020-01-01 12:59:20 +09:00
Takeshi KOMIYA 8dc3315ce5 Deprecate sphinx.roles:Index and make a copy to sphinx.domains.index 2019-12-29 19:12:58 +09:00
Takeshi KOMIYA 4f83793fd0 Move sphinx.directives.other:Index to sphinx.domains.index 2019-12-29 18:21:26 +09:00
Takeshi KOMIYA 9656b6d4dd Merge pull request #6967 from tk0miya/6966_graphviz_class
Close #6966: graphviz: Support ``:class:`` option
2019-12-29 00:25:05 +09:00
Takeshi KOMIYA 18e25d680d Close #6966: graphviz: Support `:class:` option 2019-12-27 22:38:10 +09:00
Takeshi KOMIYA c8074b4a5d Deprecate sphinx.util:detect_encoding() and ModuleAnalyzer.encoding 2019-12-27 22:08:32 +09:00
Takeshi KOMIYA 7581ee1084 Deprecate sphinx.util:get_module_source() 2019-12-27 01:57:39 +09:00
Takeshi KOMIYA 8ca1bf9aa6 Update CHANGES for PR #6907 2019-12-27 01:26:50 +09:00
Takeshi KOMIYA 0fa399c287 Fix #6961: latex: warning for babel shown twice 2019-12-26 00:56:16 +09:00
Takeshi KOMIYA 28ebe127a8 Merge branch '2.3.2' into 2.0 2019-12-22 22:58:53 +09:00
Takeshi KOMIYA d09c28deee Bump version 2019-12-22 22:57:32 +09:00
Takeshi KOMIYA 131081de5a Bump to 2.3.1 final 2019-12-22 22:55:35 +09:00
Takeshi KOMIYA 72fa75cb9a Close #6837: LaTeX: Support a nested table 2019-12-22 18:00:58 +09:00
Takeshi KOMIYA 6d6fe9da0d Add IndexDomain 2019-12-22 17:20:35 +09:00
Takeshi KOMIYA cf50ec3abe Update CHANGES for PR #6906 2019-12-22 15:58:40 +09:00
Takeshi KOMIYA 8a1994d940 Fix #6936: sphinx-autogen: raises AttributeError 2019-12-22 10:39:46 +09:00
Takeshi KOMIYA 6ed6f9bbcb Merge branch '2.3.1' into 2.0 2019-12-21 12:03:21 +09:00
Takeshi KOMIYA 00c30679cf Deprecate sphinx.io.FiletypeNotFoundError and get_filetype() 2019-12-16 01:45:02 +09:00
Takeshi KOMIYA 876fd40cea Update CHANGES for PR #6925 2019-12-16 01:30:21 +09:00
Takeshi KOMIYA 29687a29f1 Close #6446: Add sphinx.ext.durations to inspect durations of build 2019-12-16 00:47:23 +09:00
Takeshi KOMIYA 0f79bccb35 Update CHANGES for PR #6910 2019-12-16 00:46:17 +09:00
Takeshi KOMIYA 0b53356a76 Bump version 2019-12-16 00:06:27 +09:00
Takeshi KOMIYA cb5fab5db9 Bump version 2019-12-16 00:03:44 +09:00
Takeshi KOMIYA 86143a54b8 Bump to 2.3.0 final 2019-12-16 00:01:29 +09:00
Takeshi KOMIYA 076013602b Merge pull request #6891 from jfbu/latex_6890_curlyquote
LaTeX: avoid quotes and TeX ligature replacements in PDF output
2019-12-15 23:21:55 +09:00
jfbu e49e98a9fa Update CHANGES for PR #6891 2019-12-15 14:27:30 +01:00
Takeshi KOMIYA d6f1351528 Merge pull request #6908 from tk0miya/6900_sphinx-build-D_accepts_boolean
Fix #6900: sphinx-build: Allow to pass boolean value via ``-D`` option
2019-12-15 22:21:43 +09:00
Takeshi KOMIYA ebdd210a6b Fix #6900: sphinx-build: -D option does not considers 0 and 1 as a boolean value 2019-12-15 22:07:05 +09:00
Takeshi KOMIYA 3e10cdb3d9 Close #6781: gettext Add confvals to customize headers of POT file
* gettext_last_translator
* gettext_language_team
2019-12-15 22:06:18 +09:00
Takeshi KOMIYA 24908e0fa9 Update CHANGES for PR #6632 2019-12-14 23:29:41 +09:00