Takeshi KOMIYA
dd8d029fae
Update CHANGES for PR #10285
2022-04-05 02:32:15 +09:00
Takeshi KOMIYA
f5b3804060
Merge pull request #10285 from jmp1985/master
...
Fixed singledispatch documentation
2022-04-05 02:30:53 +09:00
Takeshi KOMIYA
3d2c54eb47
Fix a testcase for py36
2022-04-05 01:08:58 +09:00
Takeshi KOMIYA
67708e7bb5
Fix a testcase
2022-04-04 23:48:29 +09:00
James Parkhurst
88b213bbf0
Added test case
2022-04-04 11:45:58 +01:00
Takeshi KOMIYA
bf010790ac
Merge pull request #9792 from gschwaer/autodoc_force_undocumented_rtype
...
add option for autodoc to hide undocumented parameters but show undocumented return types
2022-04-04 00:25:46 +09:00
Takeshi KOMIYA
da73960492
Merge branch '5.x' into autodoc_force_undocumented_rtype
2022-04-03 22:45:42 +09:00
Takeshi KOMIYA
e38c1bda01
Fix a testcase
2022-04-03 22:44:12 +09:00
Takeshi KOMIYA
fd42063725
autodoc_typehints_description_target: Rename returnvalue_and_documented_params to documented_params
2022-04-03 22:42:44 +09:00
Takeshi KOMIYA
f731bf1999
Merge branch '5.x' into autodoc_force_undocumented_rtype
2022-04-03 22:29:22 +09:00
Takeshi KOMIYA
80c75b3549
Merge pull request #10325 from tk0miya/8417_inherited_members_takes_list_of_classes
...
Close #8417 : autodoc: :inherited-members: option now takes multiple classes
2022-04-03 21:57:52 +09:00
Takeshi KOMIYA
21e3a96f09
Close #8417 : autodoc: :inherited-members: option now takes multiple classes
...
It allows to suppress inherited members of several classes on the module at
once by specifying the option to `automodule` directive
2022-04-03 20:17:41 +09:00
Takeshi KOMIYA
7bdc11e87c
Merge pull request #10323 from tk0miya/10318_literalinclude_prepend_and_dedent
...
Fix #10318 : literalinclude: :prepend: option working with :dedent:
2022-04-03 20:13:39 +09:00
Takeshi KOMIYA
312efdb131
Update CHANGES for PR #10313
2022-04-03 17:29:08 +09:00
Takeshi KOMIYA
9d81843b82
Merge pull request #10321 from tk0miya/10266_autodoc_preserve_defaults_crashes_on_kwonlyargs_without_defaults
...
Fix #10266 : autodoc_preserve_defaults crashes on kwonlyargs w/o defaults
2022-04-03 17:20:25 +09:00
Takeshi KOMIYA
020a1f9187
Merge pull request #10313 from GutiCW/feature-support_mocked_decorator_for_class_methods
...
Support mocked decorator for class methods
2022-04-03 17:16:39 +09:00
Takeshi KOMIYA
0d31fc9614
Merge branch '5.x' into 10266_autodoc_preserve_defaults_crashes_on_kwonlyargs_without_defaults
2022-04-03 16:57:32 +09:00
Takeshi KOMIYA
4689ec6de1
Merge pull request #10320 from tk0miya/10280_return_typehints_in_docstrings
...
Fix #10280 : autodoc_docstring_signature generates needless return typehint
2022-04-03 16:56:39 +09:00
Takeshi KOMIYA
a78c07ca07
Fix #10280 : autodoc_docstring_signature generates needless return typehint
...
Basically, autodoc suppresses return value typehint for class
constructors. But it was unexpectedly shown if
`autodoc_docstring_signature` is enabled and docstring has multiple
signatures.
2022-04-03 16:32:35 +09:00
Takeshi KOMIYA
33610201dc
Merge pull request #10327 from sphinx-doc/bot/pull-translations
...
Update message catalogs
2022-04-03 16:21:15 +09:00
tk0miya
e5305e8e81
Update message catalogs
2022-04-03 00:17:23 +00:00
Takeshi KOMIYA
35381cc9b6
Merge pull request #10311 from tk0miya/10124_invalid_language_tag
...
Fix #10214 : html: invalid language tag was generated for zh_CN
2022-04-03 01:40:44 +09:00
Takeshi KOMIYA
11a1dbed91
Fix #10214 : html: invalid language tag was generated for zh_CN
...
So far, HTML builder output the `language` configuration as a language
tag for HTML. But it takes locale string in ANSI C, not IETF language
code.
This converts locale string to language tag to generate valid language
tag for HTML.
2022-04-03 01:03:14 +09:00
Takeshi KOMIYA
633e079826
Merge pull request #10324 from tk0miya/gha_transifex
...
i18n: Change translation target branch from 4.x to 5.x
2022-04-03 01:00:58 +09:00
Takeshi KOMIYA
8939037c6b
i18n: Change translation target branch from 4.x to 5.x
2022-04-03 00:34:55 +09:00
Takeshi KOMIYA
31eba1a76d
Merge branch '4.x' into 5.x
2022-04-03 00:33:25 +09:00
Takeshi KOMIYA
e571479d54
Fix #10318 : literalinclude: :prepend: option working with :dedent:
...
It will always be warned because prepending is processed before
dedenting. This changes the order of processing options.
2022-04-02 23:39:47 +09:00
Takeshi KOMIYA
f5e4e70817
Fix #10266 : autodoc_preserve_defaults crashes on kwonlyargs w/o defaults
2022-04-02 16:55:48 +09:00
Takeshi KOMIYA
b9d119df0f
Merge pull request #10319 from sphinx-doc/dependabot/npm_and_yarn/minimist-1.2.6
...
Bump minimist from 1.2.5 to 1.2.6
2022-04-02 15:04:43 +09:00
dependabot[bot]
bbd6ad587c
Bump minimist from 1.2.5 to 1.2.6
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-02 05:44:04 +00:00
Takeshi KOMIYA
9141464b8b
Merge pull request #10315 from tk0miya/10279_defvalue_for_kwonlyargs_in_overloads
...
Fix #10279 : autodoc: Default values are rendered as a string literal
2022-04-01 23:41:16 +09:00
Takeshi KOMIYA
82c9a7eb12
Fix #10279 : autodoc: Default values are rendered as a string literal
...
When processing overloaded functions, autodoc unexpectedly renders its
default values for kwonlyargs as a string literal unexpectedly
2022-04-01 23:16:15 +09:00
Christian Walch
5a293346cf
Reduce complexity by removing recursion.
2022-04-01 07:45:53 +02:00
Christian Walch
57d6ec7697
Extend test_mock_decorator
for class method.
2022-04-01 07:37:07 +02:00
Christian Walch
9fd40d3ab3
Use safe_getattr()
to access __self__
.
2022-04-01 06:25:32 +02:00
Christian Walch
439485e837
Move method isboundmethod()
into sphinx/util/inspect.py.
2022-04-01 06:14:35 +02:00
Christian Walch
a939dd4345
Rename function _method_is_bound()
-> isboundmethod()
.
2022-04-01 06:06:58 +02:00
Christian Walch
249ff9323c
Add types and docstring to function _method_is_bound()
.
2022-03-31 14:33:48 +02:00
Christian Walch
e8aae67c8a
Add unwittingly removed empty line.
2022-03-31 14:26:57 +02:00
Christian Walch
4a977ba4e1
Use recursive call to ismock()
on unbound method instead of using temporary object.
2022-03-31 09:33:54 +02:00
Christian Walch
d3949f8481
Closes #10310 : Sphinx automodule: class method not documented when decorated with mocked function.
2022-03-31 09:19:46 +02:00
Takeshi KOMIYA
223b1a94f2
Merge branch '4.x'
2022-03-28 01:00:37 +09:00
Takeshi KOMIYA
4221d1a516
Bump version
2022-03-28 00:58:54 +09:00
Takeshi KOMIYA
2329fdef8c
Bump to 4.5.0 final
2022-03-28 00:56:22 +09:00
Takeshi KOMIYA
c34444149d
Update CHANGES for PR #10263
2022-03-28 00:08:28 +09:00
Takeshi KOMIYA
746df61452
Merge pull request #10263 from nicoa/escape_base_uri_in_extlinks
...
escape base_uri in extlinks
2022-03-28 00:06:22 +09:00
Takeshi KOMIYA
81830cc770
Fix a flake8 warning
2022-03-27 23:58:39 +09:00
Takeshi KOMIYA
aee4e42b81
extlink: Strip a leading backslash on compiling pattern
2022-03-27 23:55:10 +09:00
Takeshi KOMIYA
8a1830ca36
Update CHANGES for PR #10178
2022-03-27 23:12:18 +09:00
Takeshi KOMIYA
4a496bfc98
Merge pull request #10178 from stephenfin/issue-10177
...
Revert "Close #9993 : std domain: Allow to refer an inline target via ref role"
2022-03-27 23:10:52 +09:00