Commit Graph

19221 Commits

Author SHA1 Message Date
Takeshi KOMIYA
ca25b4fba3 Update CHANGES for PR #10443 2022-05-22 15:03:05 +09:00
Takeshi KOMIYA
23fd455691 Remove changes for 5.1.x from 5.0.x branch 2022-05-22 14:56:36 +09:00
Takeshi KOMIYA
712d7555d7
Merge pull request #10443 from Blendify/patch-1
Epub: Add WebP mime type
2022-05-22 14:48:09 +09:00
Takeshi KOMIYA
e0835d8eca
Merge pull request #10451 from tk0miya/9648_autodoc_typehints_description_and_stared_args
Fix #9648: autodoc: *args and **kwargs entries are duplicated
2022-05-22 13:47:07 +09:00
Takeshi KOMIYA
d3af85c809
Merge branch '5.0.x' into 9648_autodoc_typehints_description_and_stared_args 2022-05-22 13:37:57 +09:00
Takeshi KOMIYA
195e911f1d
Merge pull request #10453 from sphinx-doc/refactor_gha
CI: Separate coverage task from main.yml
2022-05-22 13:33:42 +09:00
Takeshi KOMIYA
ac1e5e623c Update CHANGES for PR #10456 2022-05-22 13:28:25 +09:00
Takeshi KOMIYA
b36eaafef1
Merge pull request #10457 from scVENUS/fix#10456
closes #10456: test and fix for sphinx.domain.python.filter_meta_fields()
2022-05-22 13:26:35 +09:00
Takeshi KOMIYA
34d6d3bc8d
Merge pull request #10462 from sphinx-doc/bot/pull-translations
Update message catalogs
2022-05-22 13:18:54 +09:00
tk0miya
c470402cfb Update message catalogs 2022-05-22 00:19:01 +00:00
Anselm Kruis
fcb54ae025 update CHANGES again: revert unintended white-space changes 2022-05-16 16:38:24 +02:00
Anselm Kruis
77eaad1ab2 update CHANGES (line was too long) 2022-05-16 16:13:39 +02:00
Anselm Kruis
534b8f7294 Update CHANGES for #10456 2022-05-16 15:55:19 +02:00
Anselm Kruis
d1ba8d598d fix #10456: fix sphinx.domain.python.filter_meta_fields()
The function now removes all "meta"-fields from a field-list.
2022-05-16 15:51:37 +02:00
Anselm Kruis
6ffe881f55 Test for issue #10456: removing meta-fields
Add two meta-fields to an appropriate test case.
Currently the test fails, because of bug #10456.
The next commit fixes the issue.
2022-05-16 15:45:32 +02:00
Takeshi KOMIYA
3e20ee6846 CI: Separate coverage task from main.yml 2022-05-16 00:02:14 +09:00
Takeshi KOMIYA
d7eb5c1d8b
Merge pull request #10449 from tk0miya/9575_suppress_return_annotation
Fix #9575: autodoc: Return annotation should not be shown
2022-05-15 23:40:41 +09:00
Takeshi KOMIYA
06a9139308 Fix #9648: autodoc: *args and **kwargs entries are duplicated
In basic usage of autodoc (docstring), `args` and `kwargs` arguments
are marked up without stars.  But numpydoc style recommends to mark
them up with stars.

This adds support for starred arguments in docstrings to
`autodoc_typehints` feature.
2022-05-15 23:06:49 +09:00
Takeshi KOMIYA
d8a540e922 Fix #9575: autodoc: Return annotation should not be shown 2022-05-15 20:51:42 +09:00
Takeshi KOMIYA
92fcac321b test: Add *args and **kwargs to testcase of target.typehints 2022-05-15 19:05:17 +09:00
Takeshi KOMIYA
36367765fe
Merge pull request #10450 from sphinx-doc/bot/pull-translations
Update message catalogs
2022-05-15 12:13:04 +09:00
tk0miya
51fc4d180b Update message catalogs 2022-05-15 00:25:13 +00:00
Aaron Carlisle
b0ae5480c5
Epub: Add WebP mime type
When building docs with WebP images using the EPUB builder results in this warning:

`WARNING: unknown mimetype for _images/<image_name>.webp, ignoring`

This commit fixes this by adding the mapping for webp-files to the correct mime type.
2022-05-10 17:35:00 -04:00
Takeshi KOMIYA
1222bed88e Bump version 2022-05-09 00:57:07 +09:00
Takeshi KOMIYA
23ab36bcd7 Bump version 2022-05-09 00:55:57 +09:00
Takeshi KOMIYA
ea3468d597 Bump to 5.0.0 beta1 2022-05-09 00:54:24 +09:00
Takeshi KOMIYA
e770e2567f
Merge pull request #10427 from tk0miya/10421_autodoc_preserve_defaults_for_classmethod
Fix #10421: autodoc_preserve_defaults doesn't work on class methods
2022-05-08 23:19:10 +09:00
Takeshi KOMIYA
10dd5a0e43 Fix #10421: autodoc_preserve_defaults doesn't work on class methods 2022-05-08 22:59:14 +09:00
Takeshi KOMIYA
f58771c093
Merge pull request #10429 from tk0miya/9974_jquery-3.6.0
Close #9974: html: Updated jQuery version from 3.5.1 to 3.6.0
2022-05-08 19:04:49 +09:00
Takeshi KOMIYA
fa35e71894
Merge pull request #10430 from tk0miya/remove_test_for_jsdump
test: Remove tests for jsdump module (deprecated)
2022-05-08 19:04:17 +09:00
Takeshi KOMIYA
4eb236799b
Merge pull request #10431 from tk0miya/10337_refactor_Builder.read_doc
refactor: Create a copy of settings on Builder.write_doctree()
2022-05-08 19:04:00 +09:00
Takeshi KOMIYA
876de9cd8b
Merge pull request #10432 from sphinx-doc/bot/pull-translations
Update message catalogs
2022-05-08 19:03:06 +09:00
Takeshi KOMIYA
4b28bdd83b
Merge pull request #10435 from jfbu/10434_latex_inlinecode
Fix #10434: extra whitespace in pdf output for highlighted inline code
2022-05-08 19:02:05 +09:00
jfbu
97f4a036d1 Fix #10434: extra whitespace in pdf output for highlighted inline code
Related: #10251
2022-05-08 11:32:37 +02:00
Jean-François B
f1061c012e
Merge pull request #10365 from LuisBL/10363-sphinxmaketitle-should-use-linewidth-fix
fix #10363 make sphinxmaketitle ruler use \linewidth not \textwidth
2022-05-08 10:29:03 +02:00
Luis
6487529cf5 Fix #10363: make howto LaTeX title page rule use \linewidth 2022-05-08 10:20:51 +02:00
tk0miya
271c8d7bd3 Update message catalogs 2022-05-08 00:18:17 +00:00
Takeshi KOMIYA
27a62bbe39
Merge pull request #10197 from palewire/patch-1
Reduce `body_min_width` in basic theme
2022-05-08 02:47:00 +09:00
Takeshi KOMIYA
d7af818ba3 Update CHANGES for PR #10197 2022-05-08 02:38:56 +09:00
Takeshi KOMIYA
eee6be61ab html theme: Change the default body_min_width to 360px
Some reports says 360px is smallest size at present.

refs:

- https://www.browserstack.com/guide/ideal-screen-sizes-for-responsive-design
- https://mediag.com/blog/popular-screen-resolutions-designing-for-all/
2022-05-08 02:37:34 +09:00
Takeshi KOMIYA
a48e811781 Merge branch '5.x' into patch-1 2022-05-08 02:36:54 +09:00
Takeshi KOMIYA
294da2aa09 refactor: Create a copy of settings on Builder.write_doctree() 2022-05-08 02:30:23 +09:00
Takeshi KOMIYA
58c5424bb4 Update CHANGES for PR #10337 2022-05-08 02:25:54 +09:00
Takeshi KOMIYA
431caac943
Merge pull request #10337 from AA-Turner/reuse-publisher
Cache `Publisher` objects to speed up Sphinx
2022-05-08 02:24:27 +09:00
Takeshi KOMIYA
f9dce5764e Mark sphinx.io:read_doc() deprecated 2022-05-08 02:15:58 +09:00
Takeshi KOMIYA
39ce0182ff Merge branch '5.x' into reuse-publisher 2022-05-08 02:13:42 +09:00
Takeshi KOMIYA
19c347e790
Merge pull request #10147 from zuqq/4.x
Apply `autodoc_typehints_format` to all type hints
2022-05-08 00:59:55 +09:00
Takeshi KOMIYA
8db3724e6d test: Remove tests for jsdump module (deprecated) 2022-05-08 00:48:18 +09:00
Takeshi KOMIYA
d5e76d69e8 test: Prepend "~typing" to the result of autodata
The default setting has been changed since 5.0.
2022-05-08 00:44:28 +09:00
Takeshi KOMIYA
7134317e49 Merge remote-tracking branch 'origin/5.x' into HEAD 2022-05-07 22:37:58 +09:00