Takeshi KOMIYA
519cc078fd
Revert the removal of sphinx.util:force_decode()
...
After the release of 4.0.0, some 3rd party extensions have became not
working with the latest Sphinx because `force_decode()` function was
removed. It was deprecated since Sphinx-2.0 and warned for the removal
since 3.0.
This reverts the removal and extends its deprecation period to 5.0.0. I
hope it helps users of these extensions.
2021-06-13 16:31:33 +09:00
Takeshi KOMIYA
b7c05a2f5a
Merge pull request #9327 from jrfk/feature/mypy_0900_breaking_update_for_stub
...
Fix mypy violations (delete type: ignore ) (with mypy-0.900)
2021-06-13 16:28:56 +09:00
Junya Fukuda
a8771f4067
Fix mypy violations (delete type: ignore ) (with mypy-0.900)
2021-06-13 16:05:09 +09:00
Takeshi KOMIYA
8a59390f34
Merge pull request #9325 from jrfk/feature/mypy_0900_breaking_update_for_stub
...
Fix mypy violations (Third-party Library Stubs) (with mypy-0.900)
2021-06-13 15:58:58 +09:00
Junya Fukuda
5c98b9fa7c
Fix mypy violations (Third-party Library Stubs) (with mypy-0.900)
2021-06-13 15:22:32 +09:00
Takeshi KOMIYA
de64bfdeac
Merge pull request #9264 from tk0miya/circleci
...
CircleCI: Test with python 3.8
2021-05-23 02:31:07 +09:00
Takeshi KOMIYA
3ef5fb30a0
CircleCI: Test with python 3.8
...
From now on, Sphinx will be tested with python3.8 and Ubuntu-20.04 in
CircleCI.
2021-05-23 02:21:32 +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
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
4b8fb688c1
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-19 23:01:49 +09:00
Takeshi KOMIYA
e5c905c961
Support jinja2-3.0
...
Since jinja2-3.0, some utility functions like contextfunction and
environmentfilter are renamed to new name. This follows the updates to
support jinja2-3.0 or above.
2021-05-19 23:01:41 +09:00
Takeshi KOMIYA
ca36c9ab17
Merge pull request #9246 from tk0miya/9240_unknown_node_pending_xref_condition
...
Fix #9240 : Unknown node error for pending_xref_condition is raised
2021-05-19 22:47:01 +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
630e5bd15f
manpage: Stop creating a section directory on build manpage by default
2021-05-16 17:06:58 +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
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
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
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
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
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
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
f73e061d2b
Bump version
2021-05-09 12:21:32 +09:00
Takeshi KOMIYA
a317d0037c
Bump to 4.0.0 final
2021-05-09 12:20:11 +09:00
Takeshi KOMIYA
09bb98689c
Update message catalogs
2021-05-09 12:17:17 +09:00
Takeshi KOMIYA
50d027a036
Update CHANGES for PR #9167
2021-05-04 20:24:30 +09:00
Takeshi KOMIYA
a0d60360f4
Merge pull request #9167 from bonartm/fix_css_specific_page
...
html: fix missing reverting when adding css files to specific page
2021-05-04 20:18:59 +09:00
Malte Bonart
a7c5a3a88b
fix missing underscore
...
fix missing reverting when adding css files via app.add_css_file in a html-page-context event
2021-05-04 08:42:01 +02:00
Takeshi KOMIYA
cfb9183715
Update dependency: jinja2 < 3.0 and MarkupSafe < 2.0
...
Jinja2 and MarkupSafe have a plan to major release in the near future.
And it will introduce some changes for its APIs. To lessen the noise
of the DeprecationWarnings, this pins the versions to current stable
release.
2021-05-03 21:48:13 +09:00
Takeshi KOMIYA
53c6353714
Merge pull request #9163 from tk0miya/extlinks_warning
...
Fix test: deprecation warning for extlinks
2021-05-03 21:46:55 +09:00
Takeshi KOMIYA
8d54010675
Fix test: deprecation warning for extlinks
2021-05-03 18:52:19 +09:00