David Ham
180c3c92a4
Test for LaTeX container output.
2021-05-15 21:53:36 +01:00
Takeshi KOMIYA
707319aab2
Close #6525 : linkcheck: Add linkcheck_ignore_redirects
...
Add a new confval; linkcheck_ignore_redirects to ignore hyperlinks
that are redirected as expected.
2021-05-16 02:48:03 +09:00
Takeshi KOMIYA
05eb2ca06f
Close #6525 : linkcheck: Add linkcheck_warn_redirects
...
Add a new confval; `linkcheck_warn_redirects` to emit a warning when
the hyperlink is redirected. It's useful to detect unexpected redirects
under the warn-is-error mode.
2021-05-16 02:29:03 +09:00
Takeshi KOMIYA
99f4672575
Merge pull request #9171 from tk0miya/4257_autodoc_class_signature
...
Close #4257 : autodoc: Add autodoc_class_signature
2021-05-16 02:03:54 +09:00
Takeshi KOMIYA
51ae283a38
Close #4257 : autodoc: Add autodoc_class_signature
...
Add `autodoc_class_signature` to separate the class entry and the
definition of `__init__()` method.
2021-05-16 01:53:48 +09:00
Takeshi KOMIYA
67db20d705
Close #3014 : autodoc: Add autodoc-process-bases
...
Add `autodoc-process-bases` to modify the base classes of the class
definitions. This allows the extensions to insert or modify the list
of the base classes via event-handlers.
2021-05-16 00:46:06 +09:00
Takeshi KOMIYA
fa8117cd2f
manpage: Stop creating a section directory on build manpage by default
2021-05-15 22:23:40 +09:00
Takeshi KOMIYA
1ab7e28db8
Merge pull request #9223 from tk0miya/underscore.js-1.13.1
...
Fix #9222 : Update Underscore.js to 1.13.1
2021-05-15 22:21:41 +09:00
Takeshi KOMIYA
d9be8f6d4e
Fix #9224 : info-field-list does not support a type containing space
...
So far, DocFieldTransformer has split the field name for `:type:`
and `:param:` at the first whitespace. Therefore, it does not allow
to use a type containing whitespace (ex. `Dict[str, str]`).
This changes the splitting logic to divide the field name at the last
whitespace (a.k.a `rstrip()`). It allows to use whitespaces on types.
2021-05-15 20:31:09 +09:00
Takeshi KOMIYA
4ceedc102d
Close #8061 , #9218 : autodoc: Support variable comment for alias classes
2021-05-15 16:31:40 +09:00
David Ham
ca47ac0654
Remove superfluous groupings.
2021-05-12 21:05:53 +01:00
David Ham
61765f3f46
sphinxclass environment definition docutils style.
2021-05-12 21:03:04 +01:00
David A. Ham
20d5570abc
Merge branch 'sphinx-doc:4.x' into container-latex
2021-05-12 20:34:23 +01:00
Takeshi KOMIYA
a8c63f7511
Fix #9222 : Update Underscore.js to 1.13.1
...
underscore.js 1.12.0 has a security announcement (CVE-2021-23358) for
arbitrary code execution. So it should be upgraded to the latest
version.
2021-05-13 02:11:17 +09: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