Commit Graph

19202 Commits

Author SHA1 Message Date
Takeshi KOMIYA
2f85b1a402 test: empty tuple type is now repesented w/o args since py3.11
refs: 15df8f8d89
2022-03-19 17:10:13 +09:00
Takeshi KOMIYA
889eb99bcd
Update CHANGES for PR #10267 2022-03-17 01:59:39 +09:00
Takeshi KOMIYA
d083e2ee02
Merge pull request #10267 from nijel/patch-1
environment: Update default value for pep_base_url
2022-03-17 01:56:38 +09:00
Takeshi KOMIYA
4e9c1017ed
Merge pull request #10260 from hugovk/colour-env-vars
Enable FORCE_COLOR and NO_COLOR for terminal colouring
2022-03-17 00:38:57 +09:00
Michal Čihař
ef79a2bc70 environment: Update default value for pep_base_url
This matches docutils change in https://sourceforge.net/p/docutils/code/9045/

Fixes #10253
2022-03-16 13:57:51 +01:00
Matyas Novak
07b2a050c7 Test recognition of a documented instance of a class as a non-imported member of the module 2022-03-14 23:31:33 +01:00
Matyas Novak
d955098ef9 Do not pass attr_docs as an argument into ModuleScanner.scan 2022-03-14 23:29:51 +01:00
Takeshi KOMIYA
b12b39db05
Merge pull request #10212 from AA-Turner/remove-module-docstring-titles
Remove module docstring titles
2022-03-14 02:14:17 +09:00
Takeshi KOMIYA
856b182b31
Merge pull request #10240 from tk0miya/10223_pydomain_description_for_module_option
Fix #10223: doc: Add descriptions of :module: option for python directives
2022-03-14 02:02:51 +09:00
Takeshi KOMIYA
759a526b12
Merge pull request #10245 from stsewd/fix-shortcuts
doctools: fix shortcuts
2022-03-14 02:02:26 +09:00
Takeshi KOMIYA
c5fcd78f6e
Merge pull request #10244 from stsewd/fix-hide-search
doctools: fix hideSearchWords
2022-03-14 02:00:55 +09:00
Hugo van Kemenade
b172dc1c90 Update AUTHORS and CHANGES 2022-03-13 17:48:04 +02:00
Hugo van Kemenade
cdf9456699 Document NO_COLOR and FORCE_COLOR environment variables 2022-03-13 17:43:22 +02:00
Takeshi KOMIYA
d28b1bf67f
Merge pull request #10261 from sphinx-doc/bot/pull-translations
Update message catalogs
2022-03-14 00:21:37 +09:00
Nico Albers
554f589fde escape base_uri in extlinks to avoid regex issues with URIs containing special characters 2022-03-13 11:21:30 +01:00
tk0miya
a372fbf7bd Update message catalogs 2022-03-13 00:15:46 +00:00
Jakob Lykke Andersen
5a8ce35436 Update changes for merging #10252 2022-03-12 20:07:47 +01:00
Jakob Lykke Andersen
1b632f4048 C++, bump env version due to updated AST 2022-03-12 20:06:15 +01:00
Jakob Lykke Andersen
9362df53be C++, minor formatting 2022-03-12 20:05:26 +01:00
Hugo van Kemenade
2a700cf8e5 Enable FORCE_COLOR and NO_COLOR for terminal colouring 2022-03-12 14:30:35 +02:00
Matyas Novak
033ebab15e Recognize a documented attribute of a module as non-imported. 2022-03-11 16:09:37 +01:00
Jeremy Maitin-Shepard
926fab0a01
Update sphinx/domains/cpp.py
Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
2022-03-11 06:53:42 -08:00
Jeremy Maitin-Shepard
a9a5cec681
Update tests/test_domain_cpp.py
Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
2022-03-11 05:03:05 -08:00
Jeremy Maitin-Shepard
2c1e4c437e
Update tests/test_domain_cpp.py
Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
2022-03-11 05:02:59 -08:00
Jeremy Maitin-Shepard
ce82f9ee9c
Update tests/test_domain_cpp.py
Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
2022-03-11 05:02:54 -08:00
Jeremy Maitin-Shepard
2307e9f171
Update sphinx/util/cfamily.py
Co-authored-by: Jakob Lykke Andersen <jakobandersen@users.noreply.github.com>
2022-03-11 05:02:48 -08:00
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