Commit Graph

16830 Commits

Author SHA1 Message Date
Takeshi KOMIYA
1df14a4828 Merge branch '3.5.x' into 3.x 2021-04-11 02:17:55 +09:00
Takeshi KOMIYA
43dc09175f
Merge pull request #9079 from tk0miya/9078_async_staticmethod
Fix autodoc: Async staticmethods/ classmethods are considered as not async
2021-04-11 02:10:16 +09:00
Takeshi KOMIYA
289d078350 Update CHANGES for PR #9079 2021-04-11 01:22:12 +09:00
Takeshi KOMIYA
deb603f3c5 Fix autodoc: Async staticmethods/ classmethods are considered as not async
Since 3.10.0a7, the instances of staticmethod and classmethod have
`__wrapped__` attribute. It confuses sphinx.util.inspect:iscoroutinefunction().

refs:

* https://docs.python.org/3.10/whatsnew/3.10.html#other-language-changes
* https://bugs.python.org/issue43682
2021-04-11 00:37:22 +09:00
Takeshi KOMIYA
7b97c8cba2 Update CHANGES for PR #9071 2021-04-10 19:28:27 +09:00
Takeshi KOMIYA
eb944064db
Merge pull request #9071 from ericholscher/pin-docutils
Pin Sphinx 3.x to docutils <0.17
2021-04-10 01:17:38 +09:00
Eric Holscher
025f26cd5d Pin Sphinx 3.x to docutils <0.17
This will address the issues that the latest docutils release caused.
I think thi si a good practice in general to make sure we have a defined range of docutils versions,
given that they might change in the future.
Having this defined will mean that 3.x versions of Sphinx will always work,
even when docutils has advanced with additional backwards incompatible features.

Refs #9065 #9063 #9061 #9051
2021-04-09 08:33:06 -07:00
Takeshi KOMIYA
53d3c94d10 Update CHANGES for PR #9059 2021-04-09 01:42:41 +09:00
Takeshi KOMIYA
ffd243302a Fix #8870: Use title node for the caption of toctree
Since docutils-0.17, the caption node should not use for the non-figure
nodes.  Therefore, this replaces it by the title node.
2021-04-09 01:40:00 +09:00
Takeshi KOMIYA
ea6c62a6c5
Merge pull request #9059 from mgeier/sidebar-css
CSS: support for aside.sidebar (from docutils 0.17+)
2021-04-07 23:46:40 +09:00
Matthias Geier
fa88bb2b83 CSS: support for aside.sidebar (from docutils 0.17+) 2021-04-07 15:55:54 +02:00
Takeshi KOMIYA
fcb7d01422
Merge pull request #9036 from Blendify/patch-3
HTML Templates: Add blocks to search page
2021-04-04 13:36:48 +09:00
Takeshi KOMIYA
8e258c0eb9 Merge branch '3.5.x' into 3.x 2021-04-04 00:05:46 +09:00
Takeshi KOMIYA
64b69ad565
Merge pull request #8870 from tk0miya/test_with_docutils0.17b1
test: Do test with docutils-0.17b1
2021-04-04 00:05:13 +09:00
Takeshi KOMIYA
cf2d11f947 test: Do test with docutils-0.17 (final) 2021-04-03 23:54:41 +09:00
Takeshi KOMIYA
a6d9b24a3b test: Update testcase for docutils-0.17 (toctree caption)
Since v0.17, docutils starts to use <figcaption> for caption on HTML
output.  This modifies the expected value of our testcases to support
it.
2021-04-03 23:54:19 +09:00
Takeshi KOMIYA
84b9d49826 test: Update testcase for docutils-0.17 (<section>)
Since v0.17, docutils starts to use <section> for section on HTML
output.  This modifies the expected value of our testcases to support
it.
2021-04-03 23:54:19 +09:00
Takeshi KOMIYA
6e438af6c0 test: Update testcase for docutils-0.17 (empty language)
Since v0.17, docutils starts to load language module on parsing reST
document using StateMachine directly.  So far, our testcase uses invalid
language code for testing autosummary.  This fixes it to work with new
docutils.
2021-04-03 23:54:19 +09:00
Takeshi KOMIYA
c2ee74f166 test: Update testcase for docutils-0.17 (<figure> and <figcaption>)
Since v0.17, docutils starts to use <figure> and <figcaption> for figure
and its caption on HTML output.  This modifies the expected value of our
testcases to support it.
2021-04-03 23:54:19 +09:00
Takeshi KOMIYA
26d0bb641b test: Do test with docutils-0.17b1 2021-04-03 23:54:19 +09:00
Takeshi KOMIYA
3ac1c60c41
Merge pull request #9041 from albertvillanova/patch-1
Fix typo in docs
2021-04-03 14:09:49 +09:00
Takeshi KOMIYA
8dbacb1442 Merge branch '3.5.x' into 3.x 2021-04-03 13:22:06 +09:00
Takeshi KOMIYA
c6c970e322
Merge pull request #9048 from tk0miya/fix_enum_sig
Fix testcase: the signature of Enum class has been changed since HEAD of 3.10
2021-04-03 13:21:46 +09:00
Takeshi KOMIYA
ec4d410c48 Fix testcase: the signature of Enum class has been changed since HEAD of 3.10 2021-04-03 13:08:31 +09:00
Albert Villanova del Moral
260725c823
Fix minor typo 2021-03-30 08:45:34 +02:00
Takeshi KOMIYA
b342300c5e Merge branch '3.5.x' into 3.x 2021-03-27 17:30:50 +09:00
Takeshi KOMIYA
6a873cae0b
Merge pull request #9038 from tk0miya/fix_linkcheck_ci
Fix the testcase for linkcheck refers removed URLs
2021-03-27 17:25:58 +09:00
Takeshi KOMIYA
26d9a8962e Fix the testcase for linkcheck refers removed URLs
Some public URLs are disabled now.
For more details, see https://github.com/sphinx-doc/sphinx/issues/8309
2021-03-27 17:10:09 +09:00
Aaron Carlisle
2118c972bb
HTML Templates: Add blocks to search page
This allows themes to customize the default search page.
2021-03-26 14:59:08 -04:00
Takeshi KOMIYA
82f495fed3 Merge branch '3.5.x' into 3.x 2021-03-20 23:07:44 +09:00
Takeshi KOMIYA
14ff1bcf72 Bump version 2021-03-20 23:07:26 +09:00
Takeshi KOMIYA
1aca32cfd1 Bump to 3.5.3 final 2021-03-20 23:03:15 +09:00
Takeshi KOMIYA
11144ea009
Merge pull request #8967 from tk0miya/8959_unix_pathsep_on_windows
Fix #8959: using UNIX path separator confuses Sphinx on Windows
2021-03-20 22:53:32 +09:00
Takeshi KOMIYA
a19250b46e Fix #8959: using UNIX path separator confuses Sphinx on Windows
The first element of env.relfn2path() should be a POSIX path, not a OS
dependent path.
2021-03-20 01:32:47 +09:00
Takeshi KOMIYA
f7768d8282 Merge branch '3.5.x' into 3.x 2021-03-06 21:04:03 +09:00
Takeshi KOMIYA
4f8cb861e3 Bump version 2021-03-06 21:03:43 +09:00
Takeshi KOMIYA
a969e90f28 Bump to 3.5.2 final 2021-03-06 20:59:53 +09:00
Takeshi KOMIYA
a6158b4196
Merge pull request #8956 from tk0miya/8943_update_translations
i18n: Fix wrong substitution message catalog for el and hr (refs: #8943)
2021-03-06 19:59:47 +09:00
Takeshi KOMIYA
c2fac1eed0 Merge branch '3.5.x' into 3.x 2021-03-06 18:43:05 +09:00
Takeshi KOMIYA
3cd103095f
Merge branch '3.5.x' into 8943_update_translations 2021-03-06 17:48:11 +09:00
Takeshi KOMIYA
cb14587af5
Merge pull request #8958 from tk0miya/8936_custom_latex_builder
Fix #8936: LaTeX: A custom LaTeX builder fails with unknown node error
2021-03-06 17:47:25 +09:00
Takeshi KOMIYA
866e244770
Merge branch '3.5.x' into 8936_custom_latex_builder 2021-03-06 17:31:06 +09:00
Takeshi KOMIYA
ad10c62d74
Merge pull request #8957 from tk0miya/8952_hangup_on_parallel_build
Fix #8952: Exceptions raised in a Directive cause parallel builds to hang
2021-03-06 17:30:00 +09:00
Takeshi KOMIYA
f75e86d53a Fix #8936: LaTeX: A custom LaTeX builder fails with unknown node error
At present, post transform components for LaTeX builder does not work
for the custom LaTeX builder that inherits the original LaTeX builder.
This allows them working with the custom LaTeX builders.
2021-03-05 00:36:38 +09:00
Takeshi KOMIYA
ec6ab7243d Fix #8952: Exceptions raised in a Directive cause parallel builds to hang
Do shutdown explicitly when failure on the subprocess.
2021-03-04 23:29:52 +09:00
Takeshi KOMIYA
bae8fb6909 i18n: Fix wrong substitution message catalog for el and hr (refs: #8943) 2021-03-04 22:11:28 +09:00
Takeshi KOMIYA
06b4751f3e Merge branch '3.5.x' into 3.x 2021-03-04 22:04:55 +09:00
Takeshi KOMIYA
99d97c65d5
Merge pull request #8943 from askhl/3.5.x-fix-spanish-template
Spanish translation: fix bad substitution templates
2021-03-02 22:19:20 +09:00
Ask Hjorth Larsen
001c6f8a1c update .mo file as well 2021-03-01 18:38:06 +01:00
Ask Hjorth Larsen
8144c52228 Spanish translation: fix bad substitution templates 2021-03-01 17:57:52 +01:00