Takeshi KOMIYA
f3a098d4e9
Merge branch '4.x' into 9194_Literal_type_not_hyperlinked
2021-12-26 20:34:38 +09:00
Takeshi KOMIYA
7da429924e
Fix testcase in py36 case
2021-12-26 20:34:05 +09:00
Takeshi KOMIYA
31ed71dfb3
Merge pull request #10020 from sphinx-doc/bot/pull-translations
...
Update message catalogs
2021-12-26 20:24:35 +09:00
tk0miya
082c876619
Update message catalogs
2021-12-26 00:13:06 +00:00
Takeshi KOMIYA
2ea9118181
refactor: Merge arguments of sphinx.util.typing:stringify()
2021-12-26 03:11:39 +09:00
Takeshi KOMIYA
bdbad40f57
Fix #9194 : autodoc: Prepend the "typing" module name on the signature
...
To create hyperlinks to container types automatically, this prepends the
module names for the types under "typing" module.
2021-12-26 01:04:40 +09:00
Takeshi KOMIYA
b5bf745f68
Close #10013 : html: Allow to change the loading method of JavaScript
2021-12-25 23:41:02 +09:00
Takeshi KOMIYA
3f8cc41754
Merge pull request #10017 from tk0miya/update_docs
...
refactor: docs: Use :param: fields for add_js_file() and add_css_file()
2021-12-25 23:38:36 +09:00
Takeshi KOMIYA
4f36d645f5
Merge pull request #10019 from tk0miya/update_docs2
...
Fix docs: docs for show_return_annotation param for stringify_signature() is not explained
2021-12-25 23:38:18 +09:00
Takeshi KOMIYA
287dd515e2
Fix docs: docs for show_return_annotation param for stringify_signature() is not explained
2021-12-25 19:57:52 +09:00
Takeshi KOMIYA
71e4f37f2d
Merge pull request #10012 from tk0miya/9931_autodoc_typehints_format
...
autodoc: Rename autodoc_unqualified_typehints to autodoc_typehints_format (refs: #9931 )
2021-12-25 19:39:45 +09:00
Takeshi KOMIYA
e8b3c9cf18
refactor: docs: Use :param: fields for add_js_file() and add_css_file()
2021-12-25 18:42:36 +09:00
Takeshi KOMIYA
4f9b4c2124
Update CHANGES for PR #10007
2021-12-25 12:56:15 +09:00
Takeshi KOMIYA
bc17cd4602
Merge pull request #10007 from takluyver/importlib-metadata
...
Replace pkg_resources with importlib.metadata
2021-12-25 12:51:11 +09:00
Thomas Kluyver
b27228cf08
Merge remote-tracking branch 'origin/4.x' into importlib-metadata
2021-12-24 18:13:23 +00:00
Thomas Kluyver
c7e34936ff
Rename variables for clarity
2021-12-24 18:13:17 +00:00
Takeshi KOMIYA
0a5783f75b
py domain: Suppress the leading "typing." module from typehints
...
To support creating hyperlinks to container types naturally, py domain
should take fully-qualified typehints for them. But nobody wants to
show "typing." module name on the signature. So this suppresses them
automatically.
2021-12-25 02:50:31 +09:00
Takeshi KOMIYA
94cbce69da
Fix #9194 : autodoc: types in typing module are not hyperlinked
...
This converts types in typing module to valid references when
`autodoc_unqualified_typehints` option enabled.
2021-12-25 02:50:31 +09:00
Takeshi KOMIYA
49f576569c
Fix autodoc: Failed to parse Literal type in py36 and py37
2021-12-25 02:41:38 +09:00
Takeshi KOMIYA
a87153c018
autodoc: Rename autodoc_unqualified_typehints to autodoc_typehints_format (refs: #9931 )
2021-12-24 10:14:19 +09:00
Takeshi KOMIYA
048fd80cb4
Merge pull request #9943 from jdknight/drop-translator-specific-unknown_visit-calls
...
drop translator-specific unknown_visit calls
2021-12-24 02:09:16 +09:00
Takeshi KOMIYA
b5a9a05602
Merge branch '4.x' into drop-translator-specific-unknown_visit-calls
2021-12-24 01:54:35 +09:00
Takeshi KOMIYA
f2dc8a999a
Fix flake8 warnings
2021-12-24 01:54:30 +09:00
Takeshi KOMIYA
6c6fed5e55
Fix #10009 : autodoc: Crashes if subject raises an error on getdoc()
2021-12-24 01:48:22 +09:00
Takeshi KOMIYA
6ad6594ec7
Merge pull request #10010 from tk0miya/mypy-0.930
...
Fix mypy violations (with mypy-0.930)
2021-12-24 00:29:07 +09:00
Takeshi KOMIYA
565152301f
Fix mypy violations (with mypy-0.930)
2021-12-24 00:21:23 +09:00
Thomas Kluyver
71b3e2c822
Run isort
2021-12-22 18:27:13 +00:00
Thomas Kluyver
e257533ea7
Add comment about import options
2021-12-22 18:18:22 +00:00
Thomas Kluyver
6c5c66bbb1
Replace pkg_resources with importlib.metadata
2021-12-22 18:13:19 +00:00
Takeshi KOMIYA
94acb1921c
Merge pull request #9998 from tk0miya/9993_inline_target
...
Close #9993 : std domain: Allow to refer an inline target via ref role
2021-12-23 03:01:05 +09:00
Takeshi KOMIYA
7d59c40608
Merge pull request #9990 from tk0miya/9961_nested_kbd_in_html_related_builders
...
Close #9961 : html: Support nested <kbd> HTML elements in other HTML builders
2021-12-23 02:59:51 +09:00
Takeshi KOMIYA
e3ee8b378a
Close #9993 : std domain: Allow to refer an inline target via ref role
2021-12-21 02:51:59 +09:00
Takeshi KOMIYA
40db5694fa
Merge pull request #9992 from tk0miya/debug_print
...
test: Remove debug print
2021-12-19 18:31:52 +09:00
Takeshi KOMIYA
627d73a683
test: Remove debug print
2021-12-19 18:15:56 +09:00
Takeshi KOMIYA
977c602b21
Merge branch '4.3.x' into 4.x
2021-12-19 17:40:15 +09:00
Takeshi KOMIYA
bbee8e16b7
Bump version
2021-12-19 17:39:23 +09:00
Takeshi KOMIYA
5cf55d1c90
Bump to 4.3.2 final
2021-12-19 17:38:16 +09:00
Takeshi KOMIYA
cacbca6dd4
Merge pull request #9987 from tk0miya/9968_ivar_not_shown
...
Fix #9968 : autodoc: ivars are not shown if __init__ has posonlyargs
2021-12-19 13:18:58 +09:00
Takeshi KOMIYA
ed571ee2c0
Merge pull request #9986 from tk0miya/update_docs
...
doc: Update explanation of autodoc_unqualified_typehints (ref: #9931 )
2021-12-19 12:56:23 +09:00
Takeshi KOMIYA
e7e08d2a78
Fix #9968 : autodoc: ivars are not shown if __init__ has posonlyargs
2021-12-19 12:53:15 +09:00
Takeshi KOMIYA
5adc109b72
Merge pull request #9982 from tk0miya/9979_error_loggig
...
Fix #9979 : Error level messages were displayed as warning messages
2021-12-19 12:42:46 +09:00
Takeshi KOMIYA
a87d0359c0
Close #9961 : html: Support nested <kbd> HTML elements in other HTML builders
2021-12-19 12:41:04 +09:00
Takeshi KOMIYA
427ba36429
Merge pull request #9989 from sphinx-doc/bot/pull-translations
...
Update message catalogs
2021-12-19 11:36:23 +09:00
tk0miya
2416cde19c
Update message catalogs
2021-12-19 00:12:31 +00:00
Takeshi KOMIYA
733ac6ed5f
doc: Update explanation of autodoc_unqualified_typehints (ref: #9931 )
2021-12-18 15:26:42 +09:00
Takeshi KOMIYA
a9a9bd2563
Fix #9979 : Error level messages were displayed as warning messages
2021-12-17 02:10:21 +09:00
Takeshi KOMIYA
8d0fd9e74a
Merge branch '4.3.x' into 4.x
2021-12-17 02:09:04 +09:00
Takeshi KOMIYA
54613e05c4
Merge pull request #9983 from tk0miya/mypy-0.920
...
Fix mypy violations (with mypy-0.920)
2021-12-17 02:08:54 +09:00
Takeshi KOMIYA
95d6478747
Fix mypy violations (with mypy-0.920)
2021-12-17 02:01:33 +09:00
Takeshi KOMIYA
3d7bd318f1
Merge pull request #9972 from logithack/doc/fix-irc-network
...
doc: Point to IRC channel on Libera.Chat
2021-12-16 01:49:04 +09:00