Commit Graph

19075 Commits

Author SHA1 Message Date
Jeremy Maitin-Shepard
f3277570b7
Update sphinx/util/cfamily.py
Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
2022-03-11 05:02:41 -08:00
Jeremy Maitin-Shepard
8aa785fe5d
Update sphinx/domains/cpp.py
Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
2022-03-11 05:02:34 -08:00
Jeremy Maitin-Shepard
0cb021b65c
Update sphinx/domains/cpp.py
Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
2022-03-11 05:02:28 -08:00
Jeremy Maitin-Shepard
6073b32093
Update sphinx/domains/cpp.py
Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
2022-03-11 05:02:23 -08:00
Jeremy Maitin-Shepard
619d817e36
Update sphinx/domains/cpp.py
Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
2022-03-11 05:02:18 -08:00
Jeremy Maitin-Shepard
1dd0220f51
Update sphinx/domains/cpp.py
Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
2022-03-11 05:02:12 -08:00
Jeremy Maitin-Shepard
670e8b149f [C++] Support attributes on class and union and improve formatting 2022-03-10 22:03:42 -08:00
Adam Turner
109dbb6820 Regenerate jssplitter.py 2022-03-08 01:47:02 +00:00
Adam Turner
ac9c2b5571 Update splitQuery 2022-03-08 01:46:38 +00:00
Santos Gallegos
a7d6ae05ed
doctools: fix shortcuts
Previous code was using JQuery to add the listeners
b3812f72a9/sphinx/themes/basic/static/doctools.js (L304)

Looks like by convention returning false mean preventDefault,
but now with pure js this needs to be called explicitly.

And a couple of fixes with the selectors.

- querySelectorAll is an array-like object, it doesn't have a first()
  method.
- nextLink was being assigned the `href` attribute instead of the
  object itself.
2022-03-07 13:31:18 -05:00
Santos Gallegos
be1bc680e7
doctools: fix hideSearchWords
Previous code was:

b3812f72a9/sphinx/themes/basic/static/doctools.js (L262-L268)

Ref https://github.com/sphinx-doc/sphinx/pull/10028
2022-03-07 11:54:31 -05:00
Adam Turner
f05a068be9 Fix whitespace 2022-03-07 15:17:45 +00:00
Takeshi KOMIYA
7b55447b7e
Update versionadded to 4.5 2022-03-06 18:47:17 +09:00
Takeshi KOMIYA
fa63db8dc6
Update versionadded to 4.5 2022-03-06 18:47:11 +09:00
Takeshi KOMIYA
b3812f72a9
Merge pull request #10239 from tk0miya/10234_autosummary_css
Close #10234: autosummary: Add "autosummary" CSS class to summary tables
2022-03-06 18:43:17 +09:00
Takeshi KOMIYA
ee298ac47e Update CHANGES for PR #10236 2022-03-06 18:41:51 +09:00
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