Commit Graph

18709 Commits

Author SHA1 Message Date
Takeshi KOMIYA
441c2e306a Merge branch '4.3.x' into 4.x 2022-01-09 01:08:08 +09:00
Takeshi KOMIYA
c81dd9b82f
Merge pull request #10065 from tk0miya/mypy-0.931
Fix mypy violations (with mypy-0.931)
2022-01-09 01:07:56 +09:00
Takeshi KOMIYA
a80023f381 Fix mypy violations (with types-requests-2.27.3) 2022-01-09 00:59:32 +09:00
Takeshi KOMIYA
a98b605100 Fix mypy violations (with mypy-0.931) 2022-01-09 00:54:35 +09:00
Takeshi KOMIYA
356b397928
Merge pull request #10064 from tk0miya/du-latest
CI: refactor tox.ini; Install HEAD of docutils directly
2022-01-09 00:44:05 +09:00
Takeshi KOMIYA
ab5b8dc9ee CI: refactor tox.ini; Install HEAD of docutils directly 2022-01-08 22:57:31 +09:00
Takeshi KOMIYA
6402acde81
Merge pull request #10051 from tk0miya/9777_quotes_in_manpage
test: manpage: double quotes are escaped since docutils-0.18
2022-01-03 12:16:28 +09:00
Takeshi KOMIYA
3d5ddb68ee
Merge pull request #10050 from tk0miya/9777_Node.findall
test: Migrate to Node.findall() from Node.traverse()
2022-01-03 12:16:05 +09:00
Takeshi KOMIYA
d1a070efd8 test: manpage: double quotes are escaped since docutils-0.18
Double quotes are escaped to `\(dq` on manpage output since
docutils-0.18.
2022-01-03 02:01:46 +09:00
Takeshi KOMIYA
a0e44a7300 test: Migrate to Node.findall() from Node.traverse() 2022-01-03 01:06:20 +09:00
Takeshi KOMIYA
08a87d945a
Merge pull request #10044 from tk0miya/9777_Node.findall
Migrate to Node.findall() from Node.traverse()
2022-01-03 00:57:31 +09:00
Takeshi KOMIYA
05a898ecb4 Migrate to Node.findall() from Node.traverse()
Node.traverse() was marked as deprecated since docutils-0.18.  Instead
of it, Node.findall() has been added as successor of traverse().

This applies a patch to docutils-0.17 or older to be available
Node.findall() and use it.
2022-01-03 00:35:29 +09:00
Takeshi KOMIYA
a091917219
Merge pull request #10047 from tk0miya/refactor_PYTHONWARNINGS_filters
CI: Remove unused no longer needed PYTHONWARNINGS
2022-01-02 18:20:38 +09:00
Takeshi KOMIYA
c16b36c499 CI: Remove unused no longer needed PYTHONWARNINGS 2022-01-02 15:03:20 +09:00
Takeshi KOMIYA
daf57f2488
Merge pull request #10043 from tk0miya/9777_docutils.nodes.meta
i18n: meta strings are not translated with docutils-0.18
2022-01-02 12:24:59 +09:00
Takeshi KOMIYA
6a6a4b5800 i18n: meta strings are not translated with docutils-0.18
i18n feature for meta strings does not work if docutils-0.18 used.

Note: Since docutils-0.18, patch for meta directive is no longer
needed because it uses a picklable meta nodes; ``docutils.nodes.meta``.
2022-01-02 12:11:08 +09:00
Takeshi KOMIYA
e434dd6998
Merge pull request #10042 from tk0miya/9820_distutils
refactor: Reduce usages of distutils (refs: #9820)
2022-01-02 12:08:49 +09:00
Takeshi KOMIYA
f4f7341db2
Merge pull request #10045 from sphinx-doc/bot/pull-translations
Update message catalogs
2022-01-02 11:40:50 +09:00
Takeshi KOMIYA
e1c090d9f7
Merge pull request #10034 from tk0miya/10027_autodoc_typehints_format_for_bases
Fix #10027: autodoc_typehints_format does not work with :show-inheritance:
2022-01-02 11:39:22 +09:00
tk0miya
42d7351fda Update message catalogs 2022-01-02 00:12:37 +00:00
Takeshi KOMIYA
91f9572817
Merge pull request #10039 from tk0miya/new_year_updates2
A happy new year! (again)
2022-01-01 22:01:12 +09:00
Takeshi KOMIYA
0ba202009d refactor: Reduce usages of distutils (refs: #9820)
distutils module is now deprecated and will be removed since Python
3.12.  So this reduces the usages of the module.
2022-01-01 21:38:56 +09:00
Takeshi KOMIYA
e023d1082d A happy new year! (again) 2022-01-01 20:03:17 +09:00
Takeshi KOMIYA
f38bd8e952 Merge branch '4.3.x' into 4.x 2022-01-01 20:02:10 +09:00
Takeshi KOMIYA
8b7c81bc94
Merge pull request #10035 from tk0miya/new_year_updates
A happy new year!
2022-01-01 20:01:56 +09:00
Takeshi KOMIYA
b22134dcd3
Merge pull request #10031 from tk0miya/9555_ImportExceptionGroup_for_autosummary
Close #9555: autosummary: Improve error messages on failure to load target object
2022-01-01 19:00:10 +09:00
Takeshi KOMIYA
b84771dcd2 A happy new year! 2022-01-01 18:45:03 +09:00
Takeshi KOMIYA
3fc98a2b3d Fix #10027: autodoc_typehints_format does not work with :show-inheritance: 2022-01-01 18:06:57 +09:00
Takeshi KOMIYA
6df45e0ead Add mode parameter to sphinx.util.typing:restify()
To make the typehints in "Bases" field simple, this adds a new parameter
`mode` to sphinx.util.typing:restify() to suppress the leading module
name from typehints in "Bases" field.
2022-01-01 14:24:43 +09:00
Takeshi KOMIYA
9039991a3b Close #9555: autosummary: Improve error messages on failure to load target object 2021-12-30 23:51:15 +09:00
Takeshi KOMIYA
eed0730b4b
Merge pull request #10021 from tk0miya/10015_typehints_format_with_typehints_in_description
Fix #10015: autodoc: autodoc_typehints_format='short' does not work when autodoc_typehints='description'
2021-12-29 02:09:35 +09:00
Takeshi KOMIYA
be84da0ee0
Merge pull request #10011 from tk0miya/10009_exception_on_getdoc
Fix #10009: autodoc: Crashes if subject raises an error on getdoc()
2021-12-29 02:07:46 +09:00
Takeshi KOMIYA
8600f438e6
Merge pull request #10022 from tk0miya/fix_non_translated_messages
Fix some messages are still not translated
2021-12-29 02:07:15 +09:00
Takeshi KOMIYA
b1c99e8ff1 Merge branch '4.x' into 10009_exception_on_getdoc 2021-12-27 02:33:31 +09:00
Takeshi KOMIYA
10efd31c46 Fix autodoc: Update error message on filtering members 2021-12-27 02:32:48 +09:00
Takeshi KOMIYA
a284aa6571
Merge pull request #10018 from tk0miya/10013_add_async_js_file
Close #10013: html: Allow to change the loading method of JavaScript
2021-12-27 02:30:00 +09:00
Takeshi KOMIYA
59cb7466b5 Fix some messages are still not translated 2021-12-27 02:28:45 +09:00
Takeshi KOMIYA
1f71f85fd6 Fix #10015: autodoc: autodoc_typehints_format='short' does not work when autodoc_typehints='description' 2021-12-27 02:23:02 +09:00
Takeshi KOMIYA
5da68c3de3 Fix py domain: "typing" types are not hyperlinked in info-field-list 2021-12-27 02:23:02 +09:00
Takeshi KOMIYA
f7d9ea2aaf refactor: py domain: Separate parse_reftarget() from type_to_xref() 2021-12-27 02:03:10 +09:00
Takeshi KOMIYA
8ddf3f09c6
Merge pull request #9997 from tk0miya/9194_Literal_type_not_hyperlinked
Fix #9194: autodoc: types in typing module are not hyperlinked
2021-12-27 00:19:30 +09:00
Takeshi KOMIYA
f3a098d4e9
Merge branch '4.x' into 9194_Literal_type_not_hyperlinked 2021-12-26 20:34:38 +09:00
Takeshi KOMIYA
7da429924e Fix testcase in py36 case 2021-12-26 20:34:05 +09:00
Takeshi KOMIYA
31ed71dfb3
Merge pull request #10020 from sphinx-doc/bot/pull-translations
Update message catalogs
2021-12-26 20:24:35 +09:00
tk0miya
082c876619 Update message catalogs 2021-12-26 00:13:06 +00:00
Takeshi KOMIYA
2ea9118181 refactor: Merge arguments of sphinx.util.typing:stringify() 2021-12-26 03:11:39 +09:00
Takeshi KOMIYA
bdbad40f57 Fix #9194: autodoc: Prepend the "typing" module name on the signature
To create hyperlinks to container types automatically, this prepends the
module names for the types under "typing" module.
2021-12-26 01:04:40 +09:00
Takeshi KOMIYA
b5bf745f68 Close #10013: html: Allow to change the loading method of JavaScript 2021-12-25 23:41:02 +09:00
Takeshi KOMIYA
3f8cc41754
Merge pull request #10017 from tk0miya/update_docs
refactor: docs: Use :param: fields for add_js_file() and add_css_file()
2021-12-25 23:38:36 +09:00
Takeshi KOMIYA
4f36d645f5
Merge pull request #10019 from tk0miya/update_docs2
Fix docs: docs for show_return_annotation param for stringify_signature() is not explained
2021-12-25 23:38:18 +09:00