Commit Graph

19113 Commits

Author SHA1 Message Date
Takeshi KOMIYA
e571479d54 Fix #10318: literalinclude: :prepend: option working with :dedent:
It will always be warned because prepending is processed before
dedenting.  This changes the order of processing options.
2022-04-02 23:39:47 +09:00
Takeshi KOMIYA
f5e4e70817 Fix #10266: autodoc_preserve_defaults crashes on kwonlyargs w/o defaults 2022-04-02 16:55:48 +09:00
Takeshi KOMIYA
b9d119df0f
Merge pull request #10319 from sphinx-doc/dependabot/npm_and_yarn/minimist-1.2.6
Bump minimist from 1.2.5 to 1.2.6
2022-04-02 15:04:43 +09:00
dependabot[bot]
bbd6ad587c
Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-02 05:44:04 +00:00
Takeshi KOMIYA
9141464b8b
Merge pull request #10315 from tk0miya/10279_defvalue_for_kwonlyargs_in_overloads
Fix #10279: autodoc: Default values are rendered as a string literal
2022-04-01 23:41:16 +09:00
Takeshi KOMIYA
82c9a7eb12 Fix #10279: autodoc: Default values are rendered as a string literal
When processing overloaded functions, autodoc unexpectedly renders its
default values for kwonlyargs as a string literal unexpectedly
2022-04-01 23:16:15 +09:00
Christian Walch
5a293346cf Reduce complexity by removing recursion. 2022-04-01 07:45:53 +02:00
Christian Walch
57d6ec7697 Extend test_mock_decorator for class method. 2022-04-01 07:37:07 +02:00
Christian Walch
9fd40d3ab3 Use safe_getattr() to access __self__. 2022-04-01 06:25:32 +02:00
Christian Walch
439485e837 Move method isboundmethod() into sphinx/util/inspect.py. 2022-04-01 06:14:35 +02:00
Christian Walch
a939dd4345 Rename function _method_is_bound() -> isboundmethod(). 2022-04-01 06:06:58 +02:00
Christian Walch
249ff9323c Add types and docstring to function _method_is_bound(). 2022-03-31 14:33:48 +02:00
Christian Walch
e8aae67c8a Add unwittingly removed empty line. 2022-03-31 14:26:57 +02:00
Christian Walch
4a977ba4e1 Use recursive call to ismock() on unbound method instead of using temporary object. 2022-03-31 09:33:54 +02:00
Christian Walch
d3949f8481 Closes #10310: Sphinx automodule: class method not documented when decorated with mocked function. 2022-03-31 09:19:46 +02:00
Takeshi KOMIYA
223b1a94f2 Merge branch '4.x' 2022-03-28 01:00:37 +09:00
Takeshi KOMIYA
4221d1a516 Bump version 2022-03-28 00:58:54 +09:00
Takeshi KOMIYA
2329fdef8c Bump to 4.5.0 final 2022-03-28 00:56:22 +09:00
Takeshi KOMIYA
c34444149d Update CHANGES for PR #10263 2022-03-28 00:08:28 +09:00
Takeshi KOMIYA
746df61452
Merge pull request #10263 from nicoa/escape_base_uri_in_extlinks
escape base_uri in extlinks
2022-03-28 00:06:22 +09:00
Takeshi KOMIYA
81830cc770 Fix a flake8 warning 2022-03-27 23:58:39 +09:00
Takeshi KOMIYA
aee4e42b81 extlink: Strip a leading backslash on compiling pattern 2022-03-27 23:55:10 +09:00
Takeshi KOMIYA
8a1830ca36 Update CHANGES for PR #10178 2022-03-27 23:12:18 +09:00
Takeshi KOMIYA
4a496bfc98
Merge pull request #10178 from stephenfin/issue-10177
Revert "Close #9993: std domain: Allow to refer an inline target via ref role"
2022-03-27 23:10:52 +09:00
Takeshi KOMIYA
c93b95d685 Merge CHANGES entry for 4.4.1 to 4.5.0 2022-03-27 23:06:42 +09:00
Takeshi KOMIYA
a001bf47d6 Update CHANGES for PR #10107 2022-03-27 23:06:02 +09:00
Takeshi KOMIYA
b20e04968e
Merge pull request #10107 from Jean-Abou-Samra/intl-warnings
Implement #noqa for i18n
2022-03-27 23:00:57 +09:00
Takeshi KOMIYA
2db180da70 Merge branch '4.x' 2022-03-27 19:47:11 +09:00
Takeshi KOMIYA
f559389d14
Merge pull request #10301 from tk0miya/refactor_parserapi_doc
doc: Update docs for sphinx.parsers.Parser
2022-03-27 19:45:41 +09:00
Takeshi KOMIYA
e530c00b82 doc: Update docs for sphinx.parsers.Parser 2022-03-27 19:27:53 +09:00
Takeshi KOMIYA
7ae8c1ee42
Merge pull request #10300 from tk0miya/doc_URL_changed
doc: URL of requests has changed now
2022-03-27 16:21:03 +09:00
Takeshi KOMIYA
7ffc606e0c doc: URL of requests has changed now 2022-03-27 16:13:15 +09:00
Takeshi KOMIYA
a5ee1eca3b
Merge pull request #10126 from tk0miya/10112_extlinks_detect_hardcoded_links
Close #10112: extlinks: Disable hardcoded links detector by default
2022-03-27 15:46:03 +09:00
Takeshi KOMIYA
c6230dc4db extlinks: Disable hardcoded links detector by default (refs: #10126)
The hardcoded links detector added since 4.4.0 causes troubles in many
projects.  Therefore, this disables it by default, and adds a new
configuration `extlinks_detect_hardcoded_links` to enable it explicitly.
2022-03-27 15:22:11 +09:00
Takeshi KOMIYA
a0679463a1
Merge pull request #10297 from tk0miya/10288_refactor_docs
doc: Use :pep: role to refer PEP documents
2022-03-27 14:24:20 +09:00
Takeshi KOMIYA
4f741ccc2b
Merge pull request #10298 from sphinx-doc/bot/pull-translations
Update message catalogs
2022-03-27 14:23:25 +09:00
tk0miya
08d4a303a1 Update message catalogs 2022-03-27 00:18:39 +00:00
Takeshi KOMIYA
dfa742a99b
Merge pull request #10284 from tk0miya/10269_manpage_resolving_refuri
Fix #10269: manpage: Failed to resolve the title of :ref: cross references
2022-03-27 01:55:34 +09:00
Takeshi KOMIYA
fbdfade068 doc: Use :pep: role to refer PEP documents 2022-03-27 01:46:22 +09:00
Takeshi KOMIYA
6dbf1a3c85 Fix #10269: manpage: Failed to resolve the title of :ref: cross references 2022-03-27 01:45:04 +09:00
Takeshi KOMIYA
3816bcdfa9
Merge pull request #10283 from tk0miya/10277_search_shortwords
Fix #10277: html search: Could not search short words (ex. "use")
2022-03-27 01:43:10 +09:00
Takeshi KOMIYA
115358dec3
Merge pull request #10292 from hugovk/fix-setuptools-deprecation-warning
Use license_files to fix setuptools deprecation warning
2022-03-27 01:26:26 +09:00
Hugo van Kemenade
61b3676f4c Use license_files to fix setuptools deprecation warning 2022-03-24 18:06:26 +02:00
Takeshi KOMIYA
40a8f2b54a
Merge pull request #10288 from hugovk/update-pep-role-url
PEP role: Include trailing slash in  URL to avoid 301 redirect
2022-03-24 23:17:03 +09:00
Hugo van Kemenade
658689433e Include trailing / in PEP URL to avoid 301 redirect 2022-03-24 13:31:17 +02:00
Hugo van Kemenade
a432bf8c10 Update PEP links in docs 2022-03-24 12:34:05 +02:00
Takeshi KOMIYA
59e96bfbc5 Update CHANGES for PR #10118 2022-03-24 02:22:59 +09:00
Takeshi KOMIYA
138d71fa63
Merge pull request #10118 from mgeier/image-converter-ignore-questionmark
ImageConverter: ignore '?' image URIs
2022-03-24 02:21:19 +09:00
James Parkhurst
75a3b92690 Removed white space 2022-03-21 17:48:56 +00:00
James Parkhurst
d11f8f0470 Fixed singledispatch documentation 2022-03-21 17:31:06 +00:00