Takeshi KOMIYA
abe5ab4fa7
Merge pull request #9242 from tk0miya/refactor_env2
...
refactor: Make the app argument for BuildEnvironment required
2021-05-22 02:22:42 +09:00
Takeshi KOMIYA
63fbfb02f1
refactor: Make the app argument for BuildEnvironment required
...
At present, some attributes of env object are considered as optional
because they have been initialized by None on the constructor. But
they have always been fullfilled actually.
To be clear the type hints of the env object, this makes the `app`
argument for the BuildEnvironment class required. It can ensure the
attributes of env object are not optional.
2021-05-22 02:09:49 +09:00
Takeshi KOMIYA
a1b0e55548
Close #1874 : py domain: Support union types using | in info-field-list
2021-05-22 01:55:43 +09:00
Takeshi KOMIYA
ce9e2e6c74
Rename linkcheck_ignore_redirects to linkcheck_allowed_redirects
2021-05-20 23:26:16 +09:00
Takeshi KOMIYA
06107f838c
Merge branch '4.0.x' into 4.x
2021-05-20 22:00:06 +09:00
Takeshi KOMIYA
a7ec37cae1
Bump version
2021-05-20 21:58:59 +09:00
Takeshi KOMIYA
a55816deb5
Bump to 4.0.2 final
2021-05-20 21:57:27 +09:00
Takeshi KOMIYA
c44140b4e3
Update CHANGES for PR #9240
2021-05-20 02:03:33 +09:00
Takeshi KOMIYA
d2d2d7bde3
Merge branch '4.0.x' into 4.x
2021-05-19 23:14:21 +09:00
Takeshi KOMIYA
c015f97f16
Merge pull request #9251 from tk0miya/9216_support_jinja2-3
...
Close #9216 : Support jinja2-3.0
2021-05-19 23:13:17 +09:00
Takeshi KOMIYA
9a132b4f81
Merge branch '4.x' into 9224_type_containing_whitespace
2021-05-19 23:04:48 +09:00
Takeshi KOMIYA
567ff22716
Merge pull request #9231 from tk0miya/9217_manpage_section_directory
...
Fix #9217 : manpage: Dirname of man_make_section_directory is wrong
2021-05-19 23:00:03 +09:00
Takeshi KOMIYA
8049cd6925
Merge branch '4.0.x' into 4.x
2021-05-19 22:48:26 +09:00
Takeshi KOMIYA
bb2c6623be
Close #9216 : Support jinja2-3.0
2021-05-19 22:24:58 +09:00
Takeshi KOMIYA
2d3d668856
Fix #9240 : Unknown node error for pending_xref_condition is raised
...
Unknown node error for pending_xref_condition is raised if an extension
that does not support the node installs a missing-reference handler.
2021-05-18 01:55:36 +09:00
Takeshi KOMIYA
79d9701a00
Fix #9217 : manpage: Dirname of man_make_section_directory is wrong
...
* Correct: man/man1
* Wrong: man/1
2021-05-17 23:18:24 +09:00
Takeshi KOMIYA
d6c19126c5
Merge branch '4.0.x' into 4.x
2021-05-17 23:16:27 +09:00
Takeshi KOMIYA
bc7087a1a2
Merge branch '4.x' into 3014_autodoc-process-bases
2021-05-17 22:40:27 +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
d048025238
Merge branch '4.x' into 9218_doccomment_for_aliased_class
2021-05-16 13:57:24 +09: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
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
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
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
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
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
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
fa8212ac34
Fix #9201 : websupport: UndefinedError is raised: 'css_tag' is undefined
2021-05-11 02:13:23 +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
0a7e321754
Merge branch '4.0.x' into 9198_compile_catalog
2021-05-11 00:58:13 +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
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
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
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
78dbe075a7
Merge branch '4.0.x' into 4.x
2021-05-09 12:22:55 +09:00