Commit Graph

17871 Commits

Author SHA1 Message Date
Takeshi KOMIYA
d6c19126c5 Merge branch '4.0.x' into 4.x 2021-05-17 23:16:27 +09:00
Takeshi KOMIYA
b19dc365fe
Merge pull request #9233 from tk0miya/3014_autodoc-process-bases
Close #3014: autodoc: Add autodoc-process-bases
2021-05-17 22:50:56 +09:00
Takeshi KOMIYA
2bf939934b
Merge pull request #9241 from tk0miya/refactor_Config.read
refactor: Do config file existence check in Config.read()
2021-05-17 22:46:26 +09:00
Takeshi KOMIYA
fe68f4381f
Merge pull request #9238 from tk0miya/drop_old_deprecated_alias
refactor: Remove expired deprecated_alias
2021-05-17 22:42:29 +09:00
Takeshi KOMIYA
bc7087a1a2
Merge branch '4.x' into 3014_autodoc-process-bases 2021-05-17 22:40:27 +09:00
Takeshi KOMIYA
e5f6c77263 refactor: Do config file existence check in Config.read() 2021-05-16 23:48:42 +09:00
igo95862
7554ad9593
doc: Upgraded babel.pocoo.org links to HTTPS 2021-05-16 16:37:51 +03:00
igo95862
29aaf20a11
doc: Upgraded some of sphinx-doc.org links to HTTPS
Seems like that link is used in some tests and code so
upgrading it outside documentation might break something
2021-05-16 16:37:36 +03:00
igo95862
6c5f77c689
doc: Upgrade pygments.org links to HTTPS 2021-05-16 15:53:58 +03:00
igo95862
e67c9e5df1
doc: Upgrade docutils.sourceforge.io links to HTTPS
Also change any docutils.sourceforge.net link to io
top level domain.
2021-05-16 15:53:49 +03:00
igo95862
28b9475019
doc: Upgrade writethedocs.org domain link to HTTPS 2021-05-16 15:08:18 +03:00
Takeshi KOMIYA
b84357be49 refactor: Remove expired deprecated_alias 2021-05-16 20:28:36 +09:00
Takeshi KOMIYA
630e5bd15f manpage: Stop creating a section directory on build manpage by default 2021-05-16 17:06:58 +09:00
Takeshi KOMIYA
8d87dde43b
Merge pull request #9232 from tk0miya/9217_dont_make_section_directory
manpage: Stop creating a section directory on build manpage by default
2021-05-16 17:02:41 +09:00
Takeshi KOMIYA
576d0b98a4
Merge pull request #9229 from tk0miya/9218_doccomment_for_aliased_class
Close #9218: autodoc: Support variable comment for alias classes
2021-05-16 14:05:33 +09:00
Takeshi KOMIYA
d048025238
Merge branch '4.x' into 9218_doccomment_for_aliased_class 2021-05-16 13:57:24 +09:00
Takeshi KOMIYA
876fa81e0a
Merge pull request #9235 from sphinx-doc/bot/pull-translations
Update message catalogs
2021-05-16 13:55:09 +09:00
tk0miya
4f20b44ae7 Update message catalogs 2021-05-16 04:47:43 +00:00
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