Commit Graph

17472 Commits

Author SHA1 Message Date
Thomas Jungers
a67105974f Closes #9418: Fix missing bracket for empty Callable annotations. 2021-07-09 16:57:36 +02:00
Takeshi KOMIYA
f9644cb080 Bump version 2021-07-06 00:42:20 +09:00
Takeshi KOMIYA
007795da01 Bump to 4.0.3 final v4.0.3 2021-07-06 00:40:29 +09:00
Takeshi KOMIYA
779d902359 Merge pull request #9326 from tk0miya/rebirth_of_force_decode
Revert the removal of sphinx.util:force_decode()
2021-06-30 21:19:52 +09:00
Takeshi KOMIYA
a1994ac926 Merge branch '4.0.x' into rebirth_of_force_decode 2021-06-30 00:41:15 +09:00
Takeshi KOMIYA
723ad78306 Merge pull request #9334 from tk0miya/9322_KeyError_from_PropageteDescDomain
Fix sphinx-doc#9322: KeyError is raised on PropagateDescDomain transform
2021-06-30 00:06:57 +09:00
Takeshi KOMIYA
072cdf2110 Merge branch '4.0.x' into 9322_KeyError_from_PropageteDescDomain 2021-06-21 03:05:12 +09:00
Jakob Lykke Andersen
df5764d1de Merge pull request #9356 from jakobandersen/c_extra_keywords
C, keyword changes
2021-06-18 18:36:44 +02:00
Jakob Lykke Andersen
50f5280603 C, keyword changes
- Add new keywords from C23.
- Add c_extra_keywords as confval.
- Move macro names from keywords to c_extra_keywords.

Fixes sphinx-doc/sphinx#9354
2021-06-17 08:29:39 +02:00
Jean-François B
8939a75efa Merge pull request #9335 from jfbu/9305_platex_backslash_upquote
Fix #9305 LaTeX: backslash in sphinxupquote error with Japanese
2021-06-13 19:13:11 +02:00
jfbu
ef9b55c961 Fix #9305 LaTeX: backslash in sphinxupquote error with Japanese 2021-06-13 18:34:06 +02:00
Takeshi KOMIYA
7673cd6429 Merge pull request #9333 from tk0miya/9330_versionchanged_breaks_list
Fix #9330: versionchanged causes error during pdf build
2021-06-14 00:37:32 +09:00
Takeshi KOMIYA
7b8b3de9d1 Fix #9330: versionchanged causes error during pdf build
The versionchanged directive breaks doctree if its contents start with
non-paragraph element (ex. lists, tables, and so on).  It causes build
error in LaTeX.

This inserts a paragraph if the first child of the contents is not a
paragraph not to break doctree.
2021-06-14 00:03:08 +09:00
Takeshi KOMIYA
2de7c35573 Fix #9322: KeyError is raised on PropagateDescDomain transform
PropageteDescDomain applies the domain name from the "domain" attribute
of parent node (desc node) to the desc_signature node.  The structure
has longly generated by ObjectDescription.  But it must not be a new
rule.

This allows to build document that contains non standard doctree.
2021-06-13 23:22:42 +09:00
Takeshi KOMIYA
e7e92d3154 Update CHANGES for PR #9313 2021-06-13 17:30:04 +09:00
Takeshi KOMIYA
669c35a6bf Merge pull request #9314 from jfbu/latex_9313_missing_curly_brace
Fix #9313
2021-06-13 17:13:17 +09:00
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
jfbu
67e48df378 Update CHANGES 2021-06-09 07:40:35 +02:00
jfbu
7cc87d84c4 Fix #9313 2021-06-08 23:14:01 +02: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 v4.0.2 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 v4.0.1 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