Walter Doerwald
798adc4f57
Add tests for html_signaturereturn_icon.
2021-05-22 20:15:11 +02:00
Walter Doerwald
ac2eb0397a
Add version info for html_signaturereturn_icon.
2021-05-22 18:09:13 +02:00
Walter Doerwald
6af23a9d7a
Fix typo.
2021-05-22 17:11:20 +02:00
Walter Doerwald
b079543405
Add configuration option html_signaturereturn_icon for the arrow before a return type hint.
2021-05-16 12:13:17 +02:00
Walter Doerwald
cf2d5b3f32
Rename CSS classes for return type hint HTML markup.
...
Wrap the complete type hint in a additional <span> to enable showing the
typehint as a popup on hover.
Port changes to sphinx/writers/html.py.
2021-05-16 12:00:00 +02:00
Walter Doerwald
643131a98b
Add HTML markup to the return type hint.
2021-05-16 12:00:00 +02:00
Takeshi KOMIYA
1513d50774
Merge branch '4.0.x' into 4.x
2021-05-13 01:51:57 +09:00
Takeshi KOMIYA
bde181674d
Merge pull request #9221 from tk0miya/fix_py36_inspect
...
Fix test: the result of stringify_signature() has been changed randomly in py36
2021-05-13 01:51:41 +09:00
Takeshi KOMIYA
d18840b38d
Fix test: the result of stringify_signature() has been changed randomly in py36
2021-05-13 01:40:45 +09:00
Takeshi KOMIYA
3df43a82c7
Merge pull request #9220 from tk0miya/fix_type_annotations
...
Fix type annotations (for jinja2)
2021-05-13 01:37:04 +09:00
Takeshi KOMIYA
a081640f72
Fix type annotations (for jinja2)
...
Jinja2 starts to bundle its typehints since v3.0. As a result, mypy
warns "ignore" hint is needless. This removes them all to keep it
valid.
2021-05-13 01:12:26 +09:00
Takeshi KOMIYA
8fa6293867
Merge pull request #9215 from tk0miya/refactor_app.html_theme
...
Deprecate app.html_themes
2021-05-13 00:38:00 +09:00
Takeshi KOMIYA
5078069eb1
Deprecate app.html_themes
...
The register is much better to store the HTML themes instead of the
application object. So this migrates it to the registry object.
2021-05-12 01:36:14 +09:00
Takeshi KOMIYA
415e255dce
Merge pull request #9212 from tk0miya/9210_viewcode_crashed_on_merging
...
Fix #9210 : viewcode: crashed if non importable modules found on parallel build
2021-05-12 00:56:36 +09:00
Takeshi KOMIYA
5f696ed119
Fix #9210 : viewcode: crashed if non importable modules found on parallel build
2021-05-12 00:46:14 +09:00
Takeshi KOMIYA
96dbe5e354
Update CHANGES for PR #9185
2021-05-12 00:42:17 +09:00
Takeshi KOMIYA
c341807991
Merge pull request #9185 from AWhetter/autodoc_typehints_both
...
autodoc.typehints can accurately represent overloads
2021-05-12 00:23:58 +09:00
Takeshi KOMIYA
0b0414ea17
Update "versionadded" in doc/usage/extensions/autodoc.rst
2021-05-12 00:04:43 +09:00
Takeshi KOMIYA
a8be652e91
Merge pull request #9196 from tk0miya/9195_Literal_args
...
Fix #9195 : autodoc: The args of `typing.Literal` are wrongly rendered
2021-05-11 22:59:12 +09:00
Takeshi KOMIYA
b0e29323e0
Merge pull request #9187 from tk0miya/push_translations_automatically
...
i18n: Sync translations on repo and transifex.com via GitHub Actions automatically
2021-05-11 22:53:50 +09:00
Takeshi KOMIYA
86091934db
Fix #9195 : autodoc: The args of typing.Literal
are wrongly rendered
...
They should be rendered as "repr" form.
2021-05-11 22:39:30 +09:00
Takeshi KOMIYA
71e732014f
Merge branch '4.0.x' into 4.x
2021-05-11 02:35:15 +09:00
Takeshi KOMIYA
d627a5fe84
Bump version
2021-05-11 02:34:26 +09:00
Takeshi KOMIYA
bdce720bb9
Bump to 4.0.1 final
2021-05-11 02:33:12 +09:00
Takeshi KOMIYA
8a84d16dd8
Merge pull request #9208 from tk0miya/9201_UndefinedError_websupport
...
Fix #9201 : websupport: UndefinedError is raised: 'css_tag' is undefined
2021-05-11 02:23:23 +09:00
Takeshi KOMIYA
fa8212ac34
Fix #9201 : websupport: UndefinedError is raised: 'css_tag' is undefined
2021-05-11 02:13:23 +09:00
Takeshi KOMIYA
aa9fab50b0
Merge pull request #9207 from tk0miya/9205_canonical_conflicts
...
Fix #9205 : py domain: canonical option causes xref resolution error
2021-05-11 02:06:09 +09:00
Takeshi KOMIYA
4ab0dba755
Fix #9205 : py domain: canonical option causes xref resolution error
...
The :canonical: option causes "more than one target for
cross-reference" warning because the class having the same name is
registered.
2021-05-11 01:15:14 +09:00
Takeshi KOMIYA
d2c8cd3c80
Merge pull request #9206 from tk0miya/9198_compile_catalog
...
Fix #9198 : i18n: Babel emits errors when running compile_catalog
2021-05-11 01:08:14 +09:00
Takeshi KOMIYA
0a7e321754
Merge branch '4.0.x' into 9198_compile_catalog
2021-05-11 00:58:13 +09:00
Takeshi KOMIYA
5b994fc22a
Merge pull request #9192 from tk0miya/8380_broken_search_tags
...
Fix #8380 : html search: tags for search result are broken
2021-05-11 00:57:38 +09:00
Takeshi KOMIYA
fc93925a8b
Update message catalogs
2021-05-11 00:18:27 +09:00
Takeshi KOMIYA
2aca5a27af
Fix #9198 : i18n: Babel emits errors when running compile_catalog
2021-05-11 00:17:50 +09:00
Takeshi KOMIYA
6e4bcde540
Merge branch '4.0.x' into 8380_broken_search_tags
2021-05-11 00:07:47 +09:00
Takeshi KOMIYA
5956dc4a65
Merge pull request #9191 from tk0miya/9188_warning_for_autosummary_generate
...
Fix #9188 : autosummary: warning if list is set to autosummary_generate
2021-05-11 00:06:21 +09:00
Takeshi KOMIYA
a02d2441e2
Merge pull request #9203 from thomas-nilsson-irfu/4.x
...
Remove leftover travis badge
2021-05-10 23:38:08 +09:00
Takeshi KOMIYA
88ef2b3b39
Merge branch '4.0.x' into 9188_warning_for_autosummary_generate
2021-05-10 23:33:48 +09:00
Takeshi KOMIYA
7c16981f67
Merge pull request #9190 from tk0miya/9189_ValueError_for_property
...
Fix #9189 : autodoc: crashed by ValueError on generating signature of property
2021-05-10 23:30:13 +09:00
Thomas Nilsson
b32bd3ef5c
Remove leftover travis badge
2021-05-10 13:51:19 +02:00
Takeshi KOMIYA
a136f698a0
Merge pull request #9197 from mitya57/typos
...
Fix typos in doc/extdev/deprecated.rst
2021-05-10 02:25:28 +09:00
Takeshi KOMIYA
80b0a16e1c
Merge pull request #9183 from tk0miya/refactor_Optional2
...
refactor: Add Optional to type annotations
2021-05-10 02:15:23 +09:00
Dmitry Shachnev
356f7c53e2
Fix typos in doc/extdev/deprecated.rst
2021-05-09 20:14:38 +03:00
Takeshi KOMIYA
1d72196bfb
Merge pull request #9184 from tk0miya/9176_docs
...
doc: Update CHANGES and docs for PR #9176
2021-05-10 02:03:08 +09:00
Takeshi KOMIYA
2ee634bfda
refactor: Add Optional to type annotations
2021-05-10 02:01:24 +09:00
Takeshi KOMIYA
b88187de34
Merge pull request #9182 from tk0miya/refactor_autodoc
...
refactor: autodoc: Remove backslashes from the tail of line
2021-05-10 01:50:15 +09:00
Takeshi KOMIYA
98c756b33f
Merge pull request #9180 from tk0miya/9175_special_member_for_module
...
Fix #9175 : autodoc: Special member is not documented in the module
2021-05-10 01:49:36 +09:00
Takeshi KOMIYA
75161478c7
Fix #8380 : html search: tags for search result are broken
2021-05-09 22:14:04 +09:00
Takeshi KOMIYA
ab6ec71a89
Fix #9188 : autosummary: warning if list is set to autosummary_generate
2021-05-09 22:05:17 +09:00
Takeshi KOMIYA
23fcb91c2f
Fix #9189 : autodoc: crashed by ValueError on generating signature of property
...
Autodoc is crashed if `inspect.signature` raises ValueError on
generating signature from a property of the class. It seems the
original code re-raise the exception meaningless. So this ignores it
even if raised.
2021-05-09 21:32:56 +09:00
Takeshi KOMIYA
08c65d4de2
i18n: Pull translations via GitHub Actions automatically
2021-05-09 18:20:41 +09:00