Commit Graph

19211 Commits

Author SHA1 Message Date
Takeshi KOMIYA
cddf409762 CI: Fix "Sync translation" task
The last "Sync translation" task was failed by ModuleNotFoundError.  It
was raised because Sphinx was not installed on processing translations.

This installs it before processing.
2022-04-24 18:12:54 +09:00
Takeshi KOMIYA
ef665d37fa
Merge pull request #10369 from oscargus/autodoc-documentation
Correct autodoc docstrings
2022-04-24 16:24:01 +09:00
Takeshi KOMIYA
1660b3ebc6
Merge pull request #10364 from AA-Turner/fix-terms-check
Fix `highlightSearchWords`'s terms check in `doctools.js`
2022-04-24 15:51:49 +09:00
Takeshi KOMIYA
dcc482330a
Remove a trailing whitespace 2022-04-24 15:50:09 +09:00
Jakob Lykke Andersen
c7e7cd0ebf
Merge pull request #10360 from jakobandersen/c_cpp_enumerator_attribute
C and C++, support attributes on enumerators
2022-04-23 13:32:04 +02:00
dhmemi
eb488031ba support srearch template with extended-length path
some template file contains forward slash in the path, which is not supported by the extended path on windows.

see also:
 - https://github.com/bazelbuild/rules_python/issues/680
 - https://stackoverflow.com/questions/21194530/what-does-mean-when-prepended-to-a-file-path
2022-04-22 15:14:36 +08:00
Adam Turner
35ed39c946 Use Node.findall 2022-04-22 04:21:39 +01:00
Adam Turner
cbe0c99181 rawsource is deprecated in docutils.nodes.Text 2022-04-22 04:21:38 +01:00
Adam Turner
644a754ba1 Prefer image_loading over embed_images 2022-04-22 04:21:38 +01:00
Adam Turner
0447fbe60d Use docutils.__version_info__ directly 2022-04-22 04:21:38 +01:00
Adam Turner
ced0cfe840 Catch DeprecationWarning for docutils.frontend.Option 2022-04-22 04:21:38 +01:00
Adam Turner
a8827f3329 Catch DeprecationWarning for docutils.frontend.OptionParser 2022-04-22 04:21:38 +01:00
Adam Turner
55669f6cfc Specify encoding 2022-04-22 04:21:12 +01:00
Adam Turner
c08bffde98 Address warnings in test_util_i18n.py 2022-04-22 04:05:41 +01:00
Oscar Gustafsson
1e9108fda6
Correct autodoc docstrings
A bit too much copy and paste in the earlier ones.

`*-members` also includes `inherited-members` and `exclude-members` which are not dealt with.
2022-04-20 11:17:08 +02:00
Adam Turner
3420d15cb9 Bump Docutils dependency 2022-04-19 03:09:45 +01:00
Adam Turner
2b42752219 Fix terms check 2022-04-18 23:10:43 +01:00
Takayuki SHIMIZUKAWA
068f802df9
fix typo
from https://github.com/sphinx-doc/sphinx-doc-translations/pull/13
2022-04-19 04:10:39 +09:00
Jakob Lykke Andersen
2ec069ba9c C and C++, support attribtues on enumerators
Fixes sphinx-doc/sphinx#10341
2022-04-17 17:27:30 +02:00
Jakob Lykke Andersen
991fe26fa5 C and C++, refactor attribute lists 2022-04-17 17:17:19 +02:00
Jakob Lykke Andersen
d951e55bc3
Merge pull request #10302 from jakobandersen/cpp_cond_expr
C++, conditional expression (update of #10270)
2022-04-17 14:32:24 +02:00
Jakob Lykke Andersen
5e435fa845 Update CHANGES 2022-04-17 14:22:24 +02:00
Jakob Lykke Andersen
c9ed54d1b6 C++, bump env version for cond expr 2022-04-17 14:22:24 +02:00
Jakob Lykke Andersen
7dd1e5bbcf C++, simplify assginemnt-expression parsing 2022-04-17 14:22:24 +02:00
Jakob Lykke Andersen
ccfe08746a C++, var naming style in cond expr 2022-04-17 14:22:24 +02:00
Jakob Lykke Andersen
a36c09a97f C++, use Itanium mangling for conditional expr 2022-04-17 14:22:24 +02:00
Jeremy Maitin-Shepard
2d2e0ac01a [C++] Support conditional operator "?" 2022-04-17 14:22:24 +02:00
Takeshi KOMIYA
128f0ccc77
Merge pull request #10354 from AA-Turner/encoding-warnings
Enable the opt-in EncodingWarning
2022-04-17 16:22:25 +09:00
Adam Turner
ab3b3e2980 Cache publisher for reading documents 2022-04-17 06:45:25 +01:00
Adam Turner
1e1de932a6 Cache publisher for rendering documents 2022-04-17 06:24:05 +01:00
Takeshi KOMIYA
55998f67f0
Merge pull request #10357 from AA-Turner/remove-deprecated-50
Remove deprecated code for Sphinx 5.0
2022-04-17 13:16:45 +09:00
Takeshi KOMIYA
a0f5f240ea
Merge branch '5.x' into encoding-warnings 2022-04-17 13:10:08 +09:00
Adam Turner
b8c5ff1ab5 Merge remote-tracking branch 'origin/remove-deprecated-50' into remove-deprecated-50 2022-04-17 05:07:17 +01:00
Adam Turner
de5d6332af Review comments 2022-04-17 05:07:05 +01:00
Takeshi KOMIYA
605012d248
Change RemovedInSphinx60Warning to a subclass of DeprecationWarning 2022-04-17 13:07:04 +09:00
Takeshi KOMIYA
eff6930910
Merge pull request #10352 from AA-Turner/sphinx-docs-build
Don't use deprecated `setup.py build_sphinx`
2022-04-17 12:26:12 +09:00
Takeshi KOMIYA
26e00bda0e
Merge branch '5.x' into sphinx-docs-build 2022-04-17 11:53:15 +09:00
Takeshi KOMIYA
39311e9dc9
Merge pull request #10355 from AA-Turner/compile_catalogues
Move `babel` support to a dedicated utility file
2022-04-17 11:34:19 +09:00
Takeshi KOMIYA
d98353a98c
Merge pull request #10358 from sphinx-doc/bot/pull-translations
Update message catalogs
2022-04-17 11:30:06 +09:00
tk0miya
e5088724ac Update message catalogs 2022-04-17 00:19:01 +00:00
Adam Turner
267954edba Remove deprecated code for Sphinx 5.0 2022-04-17 00:47:21 +01:00
Adam Turner
4b515076f6 Update transifex.yml 2022-04-16 21:12:18 +01:00
Adam Turner
22f7a0124c Update documentation 2022-04-16 21:12:18 +01:00
Adam Turner
0db2817328 Add command runners 2022-04-16 21:12:18 +01:00
Adam Turner
1e443bdcb4 Move compile_catalog_plusjs to utils/ 2022-04-16 20:01:03 +01:00
Adam Turner
26c5c40b50 Enable the opt-in EncodingWarning
https://docs.python.org/3/library/io.html#io-encoding-warning
2022-04-16 19:30:45 +01:00
Takeshi KOMIYA
a66adb1c32 Fix #10305: autodoc: Failed to extract optional forwardrefs
Autodoc fails to extract optional forwardrefs (ex. `Optional[MyClass]`)
even if `MyClass` is declared in `autodoc_type_aliases`.
2022-04-17 03:09:11 +09:00
Adam Turner
ec0c13c26d Don't use deprecated setup.py build_sphinx 2022-04-16 19:08:27 +01:00
Jean-François B
9236b4247e
Merge pull request #10191 from jfbu/10188_latexfootnotes
LaTeX: fix footnote marks for multiple references
2022-04-16 20:05:45 +02:00
jfbu
0b22f5b3b7 Update CHANGES for PR #10191 2022-04-16 19:34:24 +02:00