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
jfbu
d62220676d
Update CHANGES for PR #9999
2021-12-23 19:04:47 +01:00
Jean-François B
468384fd77
Merge pull request #9999 from jfbu/9985_latex_on_master
...
LaTeX: separate terms from their definitions by a CR (close #9985 )
2021-12-23 18:56:19 +01:00
jfbu
559e4d3707
Merge branch 'master' into 9985_latex_on_master
2021-12-23 18:26:22 +01: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
4e8bca2f2f
Merge branch '4.x'
2021-12-24 00:30:29 +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
jfbu
cc8e59e722
Merge branch 'master' into 9985_latex_on_master
2021-12-22 19:51:15 +01: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
03c915174e
Merge pull request #9991 from tk0miya/9962_texinfo_definfoenclose
...
Fix #9962 : texinfo: Do not use @definfoenclose to empasize string
2021-12-23 03:00:21 +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
20912e1dfe
Merge pull request #10006 from jfbu/German_spelling_typo_in_test
...
Fix a spelling typo in tests (s/änhlich/ähnlich)
2021-12-23 00:58:40 +09:00
jfbu
4235195e77
Fix a spelling typo in tests (s/änhlich/ähnlich)
2021-12-22 12:44:28 +01: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
jfbu
9e8e3f9a6e
LaTeX: separate terms from their definitions by a CR ( fix #9985 )
2021-12-20 18:47:53 +01: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
bd84edb117
Fix #9962 : texinfo: Do not use @definfoenclose to empasize string
...
Since texinfo-6.8, `@definfoenclose` command has been deprecated. This
stops to use it to reduce the deprecation warning.
This also disables the customization the styles of emphasized text via
the command.
2021-12-19 16:08:30 +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
2d1ed64714
Merge pull request #9978 from tk0miya/deprecate_LaTeXWriter.docclasses
...
Deprecate sphinx.writers.latex.LaTeXWriter.docclasses
2021-12-19 12:56:47 +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
26cd8f100c
Deprecate sphinx.writers.latex.LaTeXWriter.docclasses
2021-12-18 02:24:03 +09:00
Takeshi KOMIYA
eb1a8a3341
Merge pull request #9966 from tk0miya/RemovedInSphinx50Warning
...
refactor: Remove RemovedInSphinx50Warning (partially)
2021-12-18 02:23:15 +09:00