Commit Graph

16812 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Takeshi KOMIYA
97de316a02 Bump version 2021-02-16 23:36:48 +09:00
Takeshi KOMIYA
baed519b90 Bump to 3.5.1 final 2021-02-16 23:35:32 +09:00
Takeshi KOMIYA
e2bef2d1d2
Merge pull request #8896 from tk0miya/8883_AttributeError_assigning_annotations
Fix #8883: autodoc: AttributeError on assigning __annotations__
2021-02-16 20:38:12 +09:00
Takeshi KOMIYA
66539af2f4
Merge pull request #8893 from tk0miya/8885_AttributeError_html_context
Fix #8885: html: AttributeError for CSS/JS files on html_context
2021-02-16 20:37:01 +09:00
Takeshi KOMIYA
82501a6f6f Fix #8885: html: AttributeError for CSS/JS files on html_context
Since 3.5.0, priority has been added to control CSS/JS files.  But it's
not working if projects installs custom CSS/JS files via `html_context`
instead of `html_css_files` and `html_js_files`.  This avoids the crash
to keep it "not broken".
2021-02-16 01:55:08 +09:00
Takeshi KOMIYA
b29ee3ded0 Fix #8883: autodoc: AttributeError on assigning __annotations__ 2021-02-16 01:35:29 +09:00
Takeshi KOMIYA
8205283823 refactor: html: Fix typo 2021-02-16 01:30:45 +09:00
Takeshi KOMIYA
633c5ad9c6 Update CHANGES for PR #8888 2021-02-15 23:22:49 +09:00
Takeshi KOMIYA
89a1175a6c
Merge pull request #8892 from tk0miya/8888
Sometimes _viewcode_modules can be False; don't crash when it is
2021-02-15 23:21:14 +09:00
Takeshi KOMIYA
ba0fa064f9 Merge branch '3.5.x' into 8888 2021-02-15 23:11:28 +09:00
Takeshi KOMIYA
f993f76998 Update CHANGES for PR #8886 2021-02-15 22:58:17 +09:00
Takeshi KOMIYA
c25eff471f
Merge pull request #8890 from tk0miya/8886
Fix #8884: Include sphinx/search/minified-js in the tarball
2021-02-15 22:56:36 +09:00
Takeshi KOMIYA
84f5991e86 Merge branch '3.5.x' into 8886 2021-02-15 22:42:52 +09:00
Takeshi KOMIYA
e5bc028e4f
Merge pull request #8887 from jfbu/adapt_tests_to_pygments_2.8
Adapt our tests to Pygments 2.8.0
2021-02-15 22:41:30 +09:00
Dustin Spicuzza
5fe6a62aaa Sometimes _viewcode_modules can be False; don't crash when it is
- Fixes #8880
2021-02-15 00:16:58 -05:00
jfbu
19ea727f1b Adapt our tests to Pygments 2.8.0 2021-02-14 21:17:17 +01:00