Commit Graph

19109 Commits

Author SHA1 Message Date
Takeshi KOMIYA
262240dd25
Merge pull request #10236 from calebchiam/master
Fixing duplicate search results bug (5.0)
2022-03-06 18:38:45 +09:00
Takeshi KOMIYA
08f5d97a82 Fix #10223: doc: Add descriptions of :module: option for python directives 2022-03-06 16:10:40 +09:00
Takeshi KOMIYA
cac69adda8 Close #10234: autosummary: Add "autosummary" CSS class to summary tables 2022-03-06 14:50:22 +09:00
Caleb Chiam
ca0d432a36
Merge branch 'sphinx-doc:master' into master 2022-03-05 13:00:51 -05:00
calebchiam
e3a8744235 fixing duplicate search results bug 2022-03-05 13:00:30 -05:00
Takeshi KOMIYA
db885ef7f6
Merge pull request #10233 from stsewd/fix-set-index
Searchtools: fix null query on setIndex
2022-03-05 15:37:58 +09:00
Takeshi KOMIYA
9f8974d8bb
Merge pull request #10224 from hugovk/master
CI: Only run cron in upstream
2022-03-05 15:36:41 +09:00
Santos Gallegos
0a36a47a22
Searchtools: fix null query on setIndex
Previous to https://github.com/sphinx-doc/sphinx/pull/10028
this code was b60caca940/sphinx/themes/basic/static/searchtools.js (L93-L100)

The current code is making _queued_query null,
and then doing a search with that instead of doing the search
with the previous value.
2022-03-03 12:49:08 -05:00
Takeshi KOMIYA
b60caca940
Merge pull request #10211 from sphinx-doc/bot/pull-translations
Update message catalogs
2022-03-03 02:40:11 +09:00
Takeshi KOMIYA
b99c3f6f50
Merge pull request #10217 from carltongibson/patch-1
Fixed typo.
2022-03-03 02:39:36 +09:00
Takeshi KOMIYA
deaf90d604
Merge pull request #10231 from sphinx-doc/dependabot/npm_and_yarn/karma-6.3.16
Bump karma from 6.3.14 to 6.3.16
2022-03-03 02:39:08 +09:00
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