Commit Graph

19075 Commits

Author SHA1 Message Date
Adam Turner
919eb1db91 Inline io.read_doc and explain why settings are copied 2022-05-07 13:11:39 +01:00
Adam Turner
f346e0a11f Move creation to sphinx.io 2022-05-02 17:38:52 +01: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
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
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
jfbu
2b6e42a741 LaTeX: workaround a memoir class compatibility issue 2022-04-16 19:33:18 +02:00
jfbu
a1d9127725 LaTeX: avoid a footnote in a signature line executing \label twice
The signature may contain an auto-generated footnote, which now
always sets a label (formerly this happened only for multiply
referred-to footnotes so the problem did not arise).
2022-04-16 19:33:18 +02:00
jfbu
33cc980cec LaTeX: comment out footnote mark enhancement for footnote environment
Page detection left to apply as was case before this PR, i.e. only for
the \sphinxfootnotemark mark-up, which means either in combination
with footnotetext environment, or for multiply referred-to footnotes
and the extra footnote marks additional to the initial one.

This is to avoid a problem with each LaTeX pass in certain circumstances
modifying the aux file, and latexmk consequently complaining.

refs:
https://github.com/sphinx-doc/sphinx/pull/10191#issuecomment-1038807448
2022-04-16 19:33:18 +02:00
jfbu
184f98ae95 LaTeX: correct footnote marks, extended with page of link target
Fix #10188

Footnotes in some LaTeX environments (tables, fulllineitems for object
descriptions) are gathered and appear after the environment, causing the
footnote to possibly appear on a page later than some of the footnote
marks referring it.

With this commit, the footnote mark compares page numbers and
incorporates the destination page number if it turns out to be distinct
from the page where it stands.
2022-04-16 19:33:18 +02:00
Takeshi KOMIYA
301c7bdf57 Merge branch '4.x' into 5.x 2022-04-16 16:32:26 +09:00
Takeshi KOMIYA
8d4d47f1bf Merge branch '4.5.x' into 4.x 2022-04-16 16:32:10 +09:00
Adam Turner
e7cba3516e Fix test_restify 2022-04-16 16:31:52 +09:00
Takeshi KOMIYA
978b6c86fe
Merge pull request #10335 from AA-Turner/fix-highlighting-div-body
Fix search highlighting
2022-04-16 16:23:47 +09:00
Takeshi KOMIYA
c1ee5bc79a
Merge pull request #10336 from AA-Turner/fix-test-restify
Fix `test_restify`
2022-04-15 01:06:38 +09:00
Takeshi KOMIYA
475acd553e
Merge pull request #10338 from sphinx-doc/bot/pull-translations
Update message catalogs
2022-04-15 01:03:43 +09:00
tk0miya
f34fdd42f0 Update message catalogs 2022-04-10 00:17:16 +00:00
Adam Turner
a314927e74 Fix test_restify 2022-04-09 21:14:23 +01:00
Adam Turner
0874d6f241 Run prettier 2022-04-09 20:14:34 +01:00
Adam Turner
cc42c551ee Fix highlighting 2022-04-09 20:12:15 +01:00
Takeshi KOMIYA
b4276edd84
Merge pull request #10153 from stsewd/check-if-search-progress-exists
Searchtools: don't assume that all themes define some elements
2022-04-05 02:33:04 +09:00
Takeshi KOMIYA
dd8d029fae Update CHANGES for PR #10285 2022-04-05 02:32:15 +09:00
Takeshi KOMIYA
f5b3804060
Merge pull request #10285 from jmp1985/master
Fixed singledispatch documentation
2022-04-05 02:30:53 +09:00
Takeshi KOMIYA
3d2c54eb47 Fix a testcase for py36 2022-04-05 01:08:58 +09:00
Takeshi KOMIYA
67708e7bb5 Fix a testcase 2022-04-04 23:48:29 +09:00
James Parkhurst
88b213bbf0 Added test case 2022-04-04 11:45:58 +01:00
Takeshi KOMIYA
bf010790ac
Merge pull request #9792 from gschwaer/autodoc_force_undocumented_rtype
add option for autodoc to hide undocumented parameters but show undocumented return types
2022-04-04 00:25:46 +09:00
Takeshi KOMIYA
da73960492 Merge branch '5.x' into autodoc_force_undocumented_rtype 2022-04-03 22:45:42 +09:00
Takeshi KOMIYA
e38c1bda01 Fix a testcase 2022-04-03 22:44:12 +09:00
Takeshi KOMIYA
fd42063725 autodoc_typehints_description_target: Rename returnvalue_and_documented_params to documented_params 2022-04-03 22:42:44 +09:00
Takeshi KOMIYA
f731bf1999 Merge branch '5.x' into autodoc_force_undocumented_rtype 2022-04-03 22:29:22 +09:00
Takeshi KOMIYA
80c75b3549
Merge pull request #10325 from tk0miya/8417_inherited_members_takes_list_of_classes
Close #8417: autodoc: :inherited-members: option now takes multiple classes
2022-04-03 21:57:52 +09:00
Takeshi KOMIYA
21e3a96f09 Close #8417: autodoc: :inherited-members: option now takes multiple classes
It allows to suppress inherited members of several classes on the module at
once by specifying the option to `automodule` directive
2022-04-03 20:17:41 +09:00
Takeshi KOMIYA
7bdc11e87c
Merge pull request #10323 from tk0miya/10318_literalinclude_prepend_and_dedent
Fix #10318: literalinclude: :prepend: option working with :dedent:
2022-04-03 20:13:39 +09:00
Takeshi KOMIYA
312efdb131 Update CHANGES for PR #10313 2022-04-03 17:29:08 +09:00