Takeshi KOMIYA
4d7558e968
Merge branch '5.0.x' into 5.x
2022-06-17 02:19:33 +09:00
Takeshi KOMIYA
29edce9243
test: Add testcase for autodoc_inherit_docstring and attributes (refs: #10539 )
2022-06-14 02:49:07 +09:00
Daniel Eades
89210fc275
remove unnecessary list comprehension (C416)
2022-06-03 13:15:43 +01:00
Daniel Eades
55a0143df7
remove unnecessary list calls around 'sorted' (C413)
2022-06-03 13:15:42 +01:00
Takeshi KOMIYA
4a9d80b008
Merge branch '5.0.x' into 5.x
2022-06-03 02:19:28 +09:00
Takeshi KOMIYA
ab58bbaed7
Merge pull request #10502 from AA-Turner/ifconfig-fix
...
`ifconfig`: Add a meta node to fix iteration
2022-06-03 02:15:50 +09:00
Adam Turner
efdbe06eea
Review comments
2022-06-01 18:10:55 +01:00
Adam Turner
91f90a5fb5
Fix test
2022-06-01 00:50:41 +01:00
Adam Turner
23a4b61415
Add a test
2022-06-01 00:35:28 +01:00
Adam Turner
9fad9d98c2
Fix fake link in test
2022-05-31 17:15:19 +01:00
Adam Turner
d066d23067
Add a test
2022-05-31 17:14:01 +01:00
Adam Turner
41ac59ef6b
Spelling (language)
2022-05-30 12:35:08 +01:00
Takeshi KOMIYA
a904ab563a
test: Change URL of testcase
2022-05-30 02:06:30 +09:00
Adam Turner
200414982c
Update test
2022-05-28 19:55:30 +01:00
Adam Turner
78c478a579
Merge remote-tracking branch 'upstream/5.0.x' into lang-none-en
2022-05-28 19:21:44 +01:00
Adam Turner
479e48266c
Update warning, revert my original warning patch
2022-05-28 19:17:46 +01:00
Adam Turner
a3d0983552
Add warning
2022-05-28 19:06:48 +01:00
Adam Turner
57e4a2f4cc
Fix case where language isn't set
2022-05-28 00:06:29 +01:00
Adam Turner
20a1775c83
Add test
2022-05-27 23:51:40 +01:00
Takeshi KOMIYA
c28b464a8f
Merge pull request #10466 from tk0miya/10104_gettext_duplicated_locations
...
Fix sphinx-doc#10104: gettext: Duplicated locations are output to pot file
2022-05-26 09:25:35 +09:00
Anselm Kruis
336885c4e2
Add test cases for #8180
...
The test checks, if ":meta private:" and ":meta public:" have an effect
in attributes of a class. Currently the new test cases fail.
The fix is in the next commit.
2022-05-23 02:04:03 +09:00
Takeshi KOMIYA
51c84e041f
Fix #10104 : gettext: Duplicated locations are output to pot file
...
When 3rd party extension does not provide line number for each message,
duplicated locations are output to pot file unexpectedly. This filters
duplicated locations before generationg pot file.
2022-05-23 01:50:41 +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
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
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
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
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
jfbu
97f4a036d1
Fix #10434 : extra whitespace in pdf output for highlighted inline code
...
Related: #10251
2022-05-08 11:32:37 +02: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
Takeshi KOMIYA
06e5c036b7
Fix an isort warning
2022-05-07 22:20:43 +09:00
Takeshi KOMIYA
541fcfc557
Close #9974 : html: Updated jQuery version from 3.5.1 to 3.6.0
2022-05-07 22:18:00 +09:00
Takeshi KOMIYA
5344b1b241
Merge branch '5.x' into 10258_autosummary
2022-05-07 21:27:47 +09:00
Takeshi KOMIYA
425a3e6c09
Merge branch '4.x' into 5.x
2022-05-06 03:32:43 +09:00
Takeshi KOMIYA
3805e0646f
Merge pull request #10251 from jbms/fix-inline-syntax-highlight
...
Make code role highlighting consistent with code-block directive
2022-05-06 02:54:42 +09:00
Takeshi KOMIYA
81bb102cd1
Merge pull request #10361 from AA-Turner/split-coverage
...
Only test with coverage on pushes to `sphinx-doc/sphinx`
2022-05-03 02:05:24 +09:00
Takeshi KOMIYA
96b15e9e66
Merge pull request #10353 from tk0miya/10305_optional_forwardref_annotations
...
Fix #10305 : autodoc: Failed to extract optional forwardrefs
2022-05-03 02:03:28 +09:00
Adam Turner
f95bcf51ef
Refactor
2022-05-02 17:51:26 +01:00
Adam Turner
cfa324a7ed
Remove always-false branches
2022-05-02 17:47:46 +01:00
Takeshi KOMIYA
00a0e13292
Merge pull request #10411 from tk0miya/10384_skip_tests_for_imgconverter
...
Fix #10384 : test: Skip tests for imgconvert if imagemagick not found
2022-05-03 01:42:50 +09:00
Adam Turner
971040b4b7
Merge branch '5.x' into fix-warnings
...
# Conflicts:
# tests/test_search.py
2022-05-02 17:05:42 +01:00
Takeshi KOMIYA
1971c437ba
Fix #10384 : test: Skip tests for imgconvert if imagemagick not found
2022-05-03 00:50:59 +09:00
Hugo van Kemenade
184fe83c73
Remove redundant code for Python < 3.6
2022-05-01 17:50:34 +03:00
Takeshi KOMIYA
2f29f0a96e
Merge pull request #10406 from AA-Turner/apidoc-duplicates
...
Ensure submodules are unique in `sphinx.ext.apidoc`
2022-05-01 19:02:37 +09:00