Commit Graph

19098 Commits

Author SHA1 Message Date
Takeshi KOMIYA
f7a0107ddb Merge branch '4.x' 2022-03-03 02:28:07 +09:00
Takeshi KOMIYA
37e8967f3f Merge branch '4.4.x' into 4.x 2022-03-03 02:24:53 +09:00
Takeshi KOMIYA
ce5537c980
Merge pull request #10232 from tk0miya/get_type_hints_since_py311
test: Follow the new behavior of typing.get_type_hints() since py311
2022-03-03 02:23:54 +09:00
Takeshi KOMIYA
12104fe5de test: Follow the new behavior of typing.get_type_hints() since py311
Since python-3.11, `typing.get_type_hints()` will not add Optional[t] to
type annotations even if a default value for function argument is None.

refs: https://github.com/python/cpython/pull/30304 (bpo-46195)
2022-03-03 01:34:21 +09:00
Hugo van Kemenade
4d83185f3f Only run cron in upstream 2022-03-02 17:50:07 +02:00
dependabot[bot]
10fdc0c6d0
Bump karma from 6.3.14 to 6.3.16
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.14 to 6.3.16.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.3.14...v6.3.16)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 13:29:51 +00:00
tk0miya
81c43a352a Update message catalogs 2022-02-27 00:16:45 +00:00
Carlton Gibson
3de086fb35
Fixed typo.
Should read `…an info field list…`, rather than ``…a info field list…`.
2022-02-23 20:29:50 +01:00
Adam Turner
f05d455313 Add catch-all text to LICENSE 2022-02-20 03:31:33 +00:00
Adam Turner
51c6642ec2 Remove redundant sphinx/utils/checks.py 2022-02-20 03:31:33 +00:00
Adam Turner
5775912455 Collapse single line docstrings 2022-02-20 03:13:45 +00:00
Adam Turner
6bb7b891a1 Remove copyright and licence fields 2022-02-20 03:06:23 +00:00
Adam Turner
b691ebcc3e Conform to PEP 257 summary line conventions 2022-02-20 02:57:02 +00:00
Adam Turner
5694e0ce60 Fix module docstring indentation 2022-02-20 00:35:13 +00:00
Adam Turner
4f5a3269a6 Fix module docstring first line 2022-02-20 00:11:08 +00:00
Adam Turner
6b8bccec59 Remove module titles in docstrings 2022-02-19 23:17:29 +00:00
Takeshi KOMIYA
586de7300a
Merge pull request #10207 from tk0miya/master
Merge 4.x to master
2022-02-19 16:16:06 +09:00
Takeshi KOMIYA
f72cd83e4d Merge branch '4.x' 2022-02-19 16:08:05 +09:00
Jean Abou Samra
94d78d8747 Close #3985: Implement #noqa for i18n
When cross-references in the original paragraph and the translated
paragraph do not match, a warning is emitted.  It is useful, because
it allows to catch mistakes, but it can also be an annoyance since
sometimes it is expected that the cross-references will not match.
For example, a reference that is repeated in the original text may
need to be factored out for good style in the target language.
Another example: if the translator needs to translate a universally
understood term in the source language into a term that not everyone
knows is the translation of this original term, adding a reference to
the glossary can be warranted.  This allows the translated message to
start with '#noqa' in order to disable the warning.
2022-02-15 19:51:06 +01:00
Takeshi KOMIYA
1cb5a3b5fa Merge commit '799385f5558a888d1a143bf703d06b66d6717fe4' 2022-02-16 00:25:53 +09:00
Jean Abou Samra
dfcb5d2f4c Categorize warnings for inconsistent references in i18n
This allows suppressing them using the suppress_warnings configuration
variable.
2022-02-15 14:32:22 +01:00
jfbu
b8789b4cb6 Improve mark-up and order in CHANGES 2022-02-15 10:31:29 +01:00
jfbu
173889f8f7 Update CHANGES for PR #10087 2022-02-14 21:06:51 +01:00
Jean-François B
6768577bd9
Merge pull request #10087 from marxin/vertical-spaces-for-cpp-functions
Latex: fix vertical spacing for cpp:function.
2022-02-14 20:52:07 +01:00
Jean-François B
6513b4f18e
Merge pull request #10190 from tk0miya/10175_named_footnotes_in_different_files
Fix #10175: LaTeX: named footnote ref is linked to an incorrect footnote
2022-02-13 20:49:38 +01:00
Takeshi KOMIYA
8b23f6db12 Merge commit '07110b7557a552ecfe702bdd6a2d2f9685cb1af9' 2022-02-14 03:03:40 +09:00
Takeshi KOMIYA
d7c6fa853c Merge commit '2be06309518d9401a42880bb5b4321dfdd1e5e90' 2022-02-14 03:02:31 +09:00
Takeshi KOMIYA
01d06f9ffe Fix #10175: LaTeX: named footnote ref is linked to an incorrect footnote
A named footnote reference will be converted to a hyperlink to an
incorrect footnote if the name is also used in the different document.
2022-02-13 20:20:42 +09:00
Takeshi KOMIYA
6f0a8f3516
Merge pull request #10189 from tk0miya/https_pep_role
The latest docutils converts :pep: role to the "https" URL (again)
2022-02-13 19:34:39 +09:00
Takeshi KOMIYA
9d29adb76c The latest docutils converts :pep: role to the "https" URL (again)
docutils-0.19 (unreleased) generates "https" URL from :pep: role.
2022-02-13 19:22:17 +09:00
Takeshi KOMIYA
9ea2b768b0
Merge pull request #10185 from tk0miya/10181_napoleon_use_ivar_corrupted
Fix #10181: napoleon_use_ivar adds unexpected prefix to vars
2022-02-13 18:46:14 +09:00
Takeshi KOMIYA
fc38564fbf
Merge pull request #10183 from tk0miya/9971_autodoc_unhashable_type
Fix #9971: autodoc: TypeError for annotation with unhashable object
2022-02-13 18:45:47 +09:00
Takeshi KOMIYA
b07ca9dbcc
Merge pull request #10170 from tk0miya/https_pep_role
The latest docutils converts :pep: role to the "https" URL
2022-02-13 18:44:55 +09:00
Takeshi KOMIYA
71b1c12167
Merge pull request #10187 from sphinx-doc/bot/pull-translations
Update message catalogs
2022-02-13 18:44:29 +09:00
tk0miya
aefc4e2473 Update message catalogs 2022-02-13 00:14:10 +00:00
Yuge Zhang
7f660ab027 Patch rst get language in docutils 2022-02-11 16:14:06 +00:00
Takeshi KOMIYA
8224f6f44a Fix #10181: napoleon_use_ivar adds unexpected prefix to vars
Since 4.0, :ivar: items has not been rendered as hyperlinks.  So any
modules, classes and tilda are now harmful.  This removes the prefixing
filter for napoleon_use_ivar option.

refs: #5129 and #5977
2022-02-12 00:50:56 +09:00
Takeshi KOMIYA
4ba056870d
Merge pull request #10184 from sphinx-doc/dependabot/npm_and_yarn/karma-6.3.14
Bump karma from 4.2.0 to 6.3.14
2022-02-11 16:27:06 +09:00
dependabot[bot]
028fccf5ae
Bump karma from 4.2.0 to 6.3.14
Bumps [karma](https://github.com/karma-runner/karma) from 4.2.0 to 6.3.14.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v4.2.0...v6.3.14)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 05:21:16 +00:00
Takeshi KOMIYA
e1ea3bb53a Fix #9971: autodoc: TypeError for annotation with unhashable object
restify() and stringify() fails with TypeError when unhashable object is
given.
2022-02-11 13:40:35 +09:00
Takeshi KOMIYA
a32d609061
Merge pull request #10169 from tk0miya/9529_named_footnotes_in_latex
Fix #9529: LaTeX: named footnotes are converted to "?"
2022-02-11 13:18:59 +09:00
Takeshi KOMIYA
777b1fa105 Merge branch '4.x' into 9529_named_footnotes_in_latex 2022-02-11 13:08:26 +09:00
Takeshi KOMIYA
5125ae8316 latex: Update description of \sphinxexplicit 2022-02-11 13:07:11 +09:00
Takeshi KOMIYA
b6931acac6
Merge pull request #10168 from tk0miya/9529_testcase_for_named_footnote
test: Add testcase for named footnotes
2022-02-11 13:06:01 +09:00
Takeshi KOMIYA
041424643f
Merge pull request #10176 from dantownsend/dantownsend-patch-1
improve grammar in theming.rst
2022-02-11 03:21:23 +09:00
Daniel Townsend
bcb0a03f92
setup -> set up 2022-02-10 17:44:18 +00:00
Stephen Finucane
105c583f06 Revert "Close #9993: std domain: Allow to refer an inline target via ref role"
This reverts commit e3ee8b378a. This is a
breaking change that should not have been introduced in a minor release
(or arguably at all, given the impact).

Signed-off-by: Stephen Finucane <stephen@that.guru>
Closes: #10177
2022-02-08 16:00:01 +00:00
Daniel Townsend
03c8ceb85f
improve grammar in theming.rst 2022-02-08 13:05:18 +00:00
Santos Gallegos
a45e4d4482
Update sphinx/themes/basic/static/searchtools.js
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2022-02-07 10:31:50 -05:00
Takeshi KOMIYA
083b0b5207 The latest docutils converts :pep: role to the "https" URL
docutils-0.19 (unreleased) generates "https" URL from :pep: role.
2022-02-06 23:10:25 +09:00