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
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
Takeshi KOMIYA
a6a1721de6
refactor: Rename var keyword argument to "**kwargs"
2020-01-08 01:39:07 +09:00
Takeshi KOMIYA
af2a3c0dde
Merge branch '2.0'
2020-01-08 01:37:53 +09:00
Ralf Gommers
659c66ad98
Update documentation of download role for addition of hash in subdir
...
This was changed in gh-5377, but that forget the (now slightly
misleading) documentation.
Discovered in https://github.com/numpy/numpy.org/pull/14 , where
we were relying on download links being stable.
2020-01-07 13:06:16 +01:00
Takeshi KOMIYA
8e1cbd24c6
Merge pull request #6992 from tk0miya/stringify_type_hints
...
Add sphinx.util.typing:stringify() to represent annotations as string
2020-01-07 01:34:24 +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
92a204284b
Merge pull request #6989 from choldgraf/patch-2
...
updating docstring for add_js_file for body element
2020-01-05 00:04:32 +09:00
Chris Holdgraf
6117e7619a
Update application.py
2020-01-04 06:12:16 -08: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
5541561490
Merge pull request #6987 from tk0miya/6986_apidoc_wrong_modname_inside_module
...
Fix #6986 : apidoc: misdetects module name for .so file inside module
2020-01-04 22:35:28 +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
Chris Holdgraf
01ffa6cf04
updating docstring for add_js_file for body element
2020-01-03 14:54:26 -08: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
577b80cb8e
Merge pull request #6977 from tk0miya/refactor_glossary2
...
Fix #6559 : Wrong node-ids are generated in glossary directive
2020-01-02 22:16:21 +09:00