Commit Graph

19140 Commits

Author SHA1 Message Date
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
Takeshi KOMIYA
1d06b6a701
Merge pull request #10374 from dhmemi/5.x
support srearch template with extended-length path
2022-05-03 01:58:16 +09:00
Takeshi KOMIYA
538fdb23bb
Merge pull request #10388 from soxofaan/patch-1
sphinx.ext.napoleon docs: fix Google style link
2022-05-03 01:53:58 +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
Adam Turner
65ae948eca Split out coverage 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
Takeshi KOMIYA
7970e6c044
Merge pull request #10372 from AA-Turner/fix-warnings
Address warnings
2022-05-03 01:27:10 +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
b58a584236
Merge pull request #10164 from AA-Turner/bump-docutils
Bump Docutils dependency
2022-05-03 01:00:51 +09:00
Takeshi KOMIYA
1971c437ba Fix #10384: test: Skip tests for imgconvert if imagemagick not found 2022-05-03 00:50:59 +09:00
Takeshi KOMIYA
8c7a472d58
Merge pull request #10409 from hugovk/5.x-rm-3.5
Remove redundant code for Python < 3.6
2022-05-02 02:45:49 +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
Takeshi KOMIYA
8c7ba8aa0a
Merge pull request #10391 from AA-Turner/jsdump
Deprecate `sphinx.util.jsdump`
2022-05-01 15:12:57 +09:00
Adam Turner
bde47ce679 Add test for duplicated submodules in sphinx.ext.apidoc 2022-05-01 06:12:25 +01:00
Adam Turner
31f87e78ac Review comments 2022-05-01 05:50:33 +01:00
Takeshi KOMIYA
6050062efa Fix #10200: apidoc: Duplicated submodules are shown for modules 2022-04-30 19:21:04 +01:00
Adam Turner
01e99f32b4 Merge branch '5.x' into jsdump 2022-04-30 19:13:51 +01:00
Adam Turner
3f8bf7acb1 Schedule removal for 7.0 2022-04-30 19:10:27 +01:00
Adam Turner
e7cea69954 Revert removal of jsdump implementation 2022-04-30 19:10:27 +01:00
Santos Gallegos
5134dbcd0d Fix enable_search_shortcuts option 2022-05-01 02:17:43 +09:00
Santos Gallegos
7443af957f Changelog: fix typo in role 2022-05-01 00:57:18 +09:00
Takeshi KOMIYA
3de45b3a6a Merge branch '4.x' into 5.x 2022-04-30 22:29:07 +09:00
Takeshi KOMIYA
f475bf19ff Merge branch '4.5.x' into 4.x 2022-04-30 22:28:57 +09:00
Takeshi KOMIYA
2a354d48dc
Merge pull request #10401 from tk0miya/mypy-0.950
Fix mypy violations (with mypy-0.950)
2022-04-30 22:27:25 +09:00
Takeshi KOMIYA
b048f17cda Fix mypy violations (with mypy-0.950) 2022-04-30 22:13:40 +09:00
dhmemi
cd0258c456 replace path.join with pathlib.Path
#
2022-04-28 11:31:07 +08:00
Adam Turner
4674cc11c8 .write_text(...) -> .write_text(..., encoding='utf8') 2022-04-27 03:11:08 +01:00
Adam Turner
24e3b7c8c8 .read_text() -> .read_text(encoding='utf8') 2022-04-27 03:04:19 +01:00
Adam Turner
b536ffabc1 Deprecate sphinx.util.jsdump 2022-04-27 02:59:50 +01:00
Stefaan Lippens
b98b1b3419
sphinx.ext.napoleon docs: fix Google style link 2022-04-25 12:35:40 +02:00
Adam Turner
8866adeacf Review: Restore sphinx.util.docutils.__version_info__ and deprecate 2022-04-24 18:06:36 +01:00
Adam Turner
e2595b6cbe Review: Use list 2022-04-24 17:55:05 +01:00
Takeshi KOMIYA
5eeeb9ce37
Merge pull request #10383 from sphinx-doc/bot/pull-translations
Update message catalogs
2022-04-24 18:34:30 +09:00
tk0miya
43e411776c Update message catalogs 2022-04-24 09:26:12 +00:00
Takeshi KOMIYA
173d6a89a0
Merge pull request #10382 from tk0miya/fix_sync_translation
CI: Fix "Sync translation" task
2022-04-24 18:24:52 +09:00
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