James Knight
e01d914dbd
themes: use noscript for search js notification
...
The "search.html" template will generate a warning admonition about
requiring JavaScript for search and automatically hiding the element
when supported. While functional, if a client renders the page slowly,
the warning notification may be visible to the user for a moment.
Instead of relying on JavaScript to suppress this warning, use a
`noscript` tag to hide the warning for clients who do not support
JavaScript. This also has the benefit of one less JavaScript call
required by a client.
Signed-off-by: James Knight <james.d.knight@live.com>
2021-09-11 17:04:57 +09:00
Takeshi KOMIYA
293beecc06
Merge pull request #9619 from cclauss/patch-1
...
setup.py: Fix broken url on the Sphinx PyPI page
2021-09-11 16:55:50 +09:00
Takeshi KOMIYA
4442f32e7a
Merge pull request #9621 from cclauss/codespell-again
...
Fix typos discovered by codespell (again)
2021-09-11 16:54:45 +09:00
Christian Clauss
d2c95dfd0c
overridden
2021-09-08 02:33:10 +02:00
Christian Clauss
86583c578c
Fix typos discovered by codespell
2021-09-08 02:15:25 +02:00
Christian Clauss
95f47d8b2e
setup.py: Fix broken url on the PyPI page
2021-09-07 19:36:07 +02:00
Takeshi KOMIYA
336605b8e4
Merge pull request #9610 from sphinx-doc/bot/pull-translations
...
Update message catalogs
2021-09-05 17:02:26 +09:00
Takeshi KOMIYA
bd5e40ce3a
Merge pull request #9609 from tk0miya/9608_apidoc_pymod_definition_for_implicit_namespace
...
Fix #9608 : apidoc: module is not described if implicit namespace package
2021-09-05 16:34:58 +09:00
Takeshi KOMIYA
a3f08fe298
Merge pull request #9606 from tk0miya/9600_typehints_including_commas
...
Fix #9600 : autosummary: Typehints including commas confuses autosummary
2021-09-05 16:34:01 +09:00
Takeshi KOMIYA
4ad45cec52
Merge pull request #9602 from tk0miya/9576_Literal_xref
...
Fix #9576 : py domain: Literal typehint was converted to a cross reference
2021-09-05 16:33:02 +09:00
tk0miya
c2e9970acc
Update message catalogs
2021-09-05 07:26:40 +00:00
Takeshi KOMIYA
223d615011
Fix #9608 : apidoc: module is not described if implicit namespace package
...
To make implicit namespace packages referencable, this outputs empty
module definitions for them.
2021-09-04 22:44:04 +09:00
Takeshi KOMIYA
0a8655b733
Fix #9600 : autosummary: Typehints including commas confuses autosummary
2021-09-04 01:54:11 +09:00
Takeshi KOMIYA
34664ce4ce
Fix #9576 : py domain: Literal typehint was converted to a cross reference
...
The content of Literal typehint should not be converted to cross
references.
2021-09-03 22:09:30 +09:00
Takeshi KOMIYA
6c38f68dae
Merge pull request #9582 from blueyed/tox-passenv-COLORTERM
...
ci(tox.ini): add COLORTERM to passenv
2021-09-02 02:27:55 +09:00
Takeshi KOMIYA
80fbbb8462
Merge pull request #9591 from tk0miya/9585_type_for_pyproperty
...
Fix #9585 : py:property directive does not create a hyperlink for types
2021-09-01 00:16:24 +09:00
Takeshi KOMIYA
3e24190564
Fix #9585 : py:property directive does not create a hyperlink for types
2021-08-31 23:55:12 +09:00
Daniel Hahler
e89de152d8
ci(tox.ini): add COLORTERM to passenv
...
This is required for [kitty](https://sw.kovidgoyal.net/kitty/ ), which
uses TERM=xterm-kitty, which is not detected as being a colored
terminal, without its `COLORTERM=truecolor` also being passed [1].
1: d194e0f490/sphinx/util/console.py (L70-L71)
2021-08-30 10:32:30 +02:00
Takeshi KOMIYA
9ed054279a
Merge pull request #9549 from tk0miya/9524_SphinxTestApp_outdir
...
Close #9524 : test: SphinxTestApp can take ``builddir`` as an argument
2021-08-29 23:54:31 +09:00
Takeshi KOMIYA
6fb8d1c806
Merge branch '4.x' into 9524_SphinxTestApp_outdir
2021-08-29 23:18:56 +09:00
Takeshi KOMIYA
a4a0b97835
Merge pull request #9569 from jakelishman/fix-autosummary-sections
...
Fix #9568 : autosummary: summarise overlined sectioned headings correctly
2021-08-29 17:17:52 +09:00
Takeshi KOMIYA
baacc26b29
Merge pull request #9565 from JustinTArthur/9564-fix_highlighted_code_role_smartquotes
...
Check complete ancestry of text nodes for smartquotes eligibility.
2021-08-29 16:56:16 +09:00
Takeshi KOMIYA
760820f5ed
Merge branch '4.x' into fix-autosummary-sections
2021-08-29 16:47:43 +09:00
Takeshi KOMIYA
276f943610
Merge branch '4.x' into 9564-fix_highlighted_code_role_smartquotes
2021-08-29 16:43:50 +09:00
Takeshi KOMIYA
5c3eebccdd
Merge pull request #9587 from sphinx-doc/bot/pull-translations
...
Update message catalogs
2021-08-29 16:19:20 +09:00
Takeshi KOMIYA
a0fbe2f7b7
Merge branch '4.1.x' into 4.x
2021-08-29 16:02:45 +09:00
Takeshi KOMIYA
a1bb4a81ce
Fix #9589 : autodoc: typing.Annotated has wrongly been rendered
...
At the HEAD of 3.10, the implementation of `typing.Annotated` has
been changed to have __qualname__.
2021-08-29 16:02:35 +09:00
Takeshi KOMIYA
e33134f6ba
Merge pull request #9590 from tk0miya/9589_Annotated
...
Fix #9589 : autodoc: typing.Annotated has wrongly been rendered
2021-08-29 16:02:08 +09:00
Takeshi KOMIYA
b82d3ef05a
Fix #9589 : autodoc: typing.Annotated has wrongly been rendered
...
At the HEAD of 3.10, the implementation of `typing.Annotated` has
been changed to have __qualname__.
2021-08-29 15:51:39 +09:00
tk0miya
d6a340fc1a
Update message catalogs
2021-08-29 00:09:46 +00:00
Takeshi KOMIYA
f127a2ff5d
Merge pull request #9570 from sphinx-doc/bot/pull-translations
...
Update message catalogs
2021-08-23 02:22:45 +09:00
tk0miya
f62a33a8b6
Update message catalogs
2021-08-22 00:09:09 +00:00
Takeshi KOMIYA
95648432c4
Merge branch '4.1.x' into 4.x
2021-08-21 21:03:18 +09:00
Takeshi KOMIYA
9f46b1fa67
Merge pull request #9557 from tk0miya/pygments
...
Fix test: Tests has been broken with pygments-2.10+
2021-08-21 21:02:50 +09:00
Justin Turner Arthur
adcda091d9
Check complete ancestry of text nodes for smartquotes eligibility.
...
Fixes sphinx-doc/sphinx#9564 .
2021-08-21 00:20:04 -05:00
Jakob Lykke Andersen
b174b77a14
Merge pull request #9553 from jakobandersen/cpp_inner_paramlist_init
...
C++, fix parsing of defaulted function parameters that are function pointers
2021-08-20 19:16:27 +02:00
Jakob Lykke Andersen
73c1520923
C++, fix parsing of defaulted fp function params
2021-08-20 18:17:42 +02:00
Jakob Lykke Andersen
5a3e119d5e
Merge pull request #9547 from jakobandersen/c_gnu_type_spec
...
C, update fundamental types, including GNU extensions
2021-08-20 18:15:49 +02:00
Jake Lishman
9d7fa75d4a
Fix #9568 : autosummary: summarise overlined sectioned headings correctly
...
Add an extra step in the autosummary summariser algorithm to get a valid
text form of section headings. This fixed issues when the first element
of a summarised document was a section heading with overlines, such as
=======
Heading
=======
Previously, the first line would be taken verbatim, which caused parse
errors in the rest of the document.
2021-08-20 17:05:58 +01:00
Jakob Lykke Andersen
4b62b6cb82
C, C++, parse <width> <complex/imaginary>
2021-08-20 17:15:34 +02:00
Jakob Lykke Andersen
a4371ea94c
C++, update fundamental type handling a la in C
2021-08-20 17:15:34 +02:00
Jakob Lykke Andersen
cf091f7bb6
C, add short int, and treat spaced types properly
2021-08-20 17:15:34 +02:00
Jakob Lykke Andersen
e2ae287f1c
C, add fract and accum
2021-08-20 17:15:34 +02:00
Jakob Lykke Andersen
c5962b70bd
C, update fundamental types, including GNU exts
...
Fixes sphinx-doc/sphinx#9535
2021-08-20 17:15:34 +02:00
Takeshi KOMIYA
bde6c8d2ef
Fix test: Tests has been broken with pygments-2.10+
2021-08-19 23:26:42 +09:00
Takeshi KOMIYA
8fd4373d3a
Merge pull request #9546 from tk0miya/9267_JS_loaded_twice
...
Fix #9267 : html theme: CSS and JS files added by theme were loaded twice
2021-08-16 23:32:20 +09:00
Takeshi KOMIYA
8afe6ed038
Merge pull request #9550 from sphinx-doc/bot/pull-translations
...
Update message catalogs
2021-08-15 12:23:41 +09:00
tk0miya
2a3cdfd701
Update message catalogs
2021-08-15 00:09:15 +00:00
Takeshi KOMIYA
a4b540f61f
Close #9524 : test: SphinxTestApp can take `builddir
` as an argument
2021-08-15 02:45:32 +09:00
Takeshi KOMIYA
12cf4ebc1f
Merge pull request #9545 from aaugustin/4.x
...
Update link to OpenSearch.
2021-08-14 22:37:34 +09:00