Takeshi KOMIYA
a35b009adc
Fix #9435 : linkcheck: Failed to check anchors in github.com
...
The approach of `rewrite_github_anchor` makes some anchors valid. But
it also makes other kind of anchors invalid. This disables the handler
to make them valid again (while 4.1.x release).
2021-07-18 13:03:57 +09:00
Takeshi KOMIYA
38d80c3d0f
Close #9445 : autodoc: Support class properties
...
Since python 3.9, `classmethod` starts to support creating a "class
property". This supports to generate document for it.
2021-07-17 16:39:50 +09:00
Takeshi KOMIYA
120525563c
Cloase #9445 : :py:property: directive now supports :classmethod: option
...
Since python 3.9, `classmethod` starts to support creating a "class
property". This allows to describe it.
2021-07-17 14:24:31 +09:00
Karolina Surma
42d9d11247
Fix testcase: Enum changes were reverted in Python 3.10
2021-07-14 08:40:03 +02:00
Simon Hausmann
3a50abc5c9
Fix handling of local paths in html_logo/html_favicon directorives in conf.py
...
Merge request #9381 broke support for local logos/favicons as it
retained the paths that are passed to the template engine. That's wrong
as the actual path will be in _static/.
This should fix #9438
2021-07-13 18:03:36 +02:00
Martin Liska
1227799abf
texinfo: fix emission of @footnote directives.
...
Right now, labels are emitted as part of a @footnote directive.
That results in e.g.
Note1: (@footnote{@w{(1)}
Future versions of GCC may zero-extend...
})
which is incorrect and should be rather:
Note1: (@footnote{Future versions of GCC may zero-extend...})
2021-07-12 09:20:43 +02:00
Takeshi KOMIYA
4a2f5df9ba
Merge branch '9299' into 4.x
2021-07-11 19:33:47 +09:00
Takeshi KOMIYA
e6d3adf5d9
intersphinx: Add testcase for case insensitive term match (refs: #9299 )
2021-07-11 19:33:38 +09:00
Takeshi KOMIYA
f40c2837dc
Merge pull request #9225 from doerwalter/typehint-html
...
Add HTML markup to method/function return typehint
2021-07-11 12:03:40 +09:00
Takeshi KOMIYA
866719f48f
Merge branch '4.x' into 9427
2021-07-11 02:12:32 +09:00
Takeshi KOMIYA
dd89c3689e
py domain: Add testcase for empty callable (refs: #9427 )
2021-07-11 02:12:23 +09:00
Takeshi KOMIYA
8c62099456
Merge pull request #9415 from tk0miya/9362_AttributeError_for_subclass_of_empty_tuple
...
Fix #9362 : autodoc: AttributeError is raised for a subclass of Tuple[()]
2021-07-09 02:55:29 +09:00
Eisuke Kawashima
652ebf1bf5
Fix typo
2021-07-08 08:16:22 +09:00
Takeshi KOMIYA
007dee7590
Fix #9362 : autodoc: AttributeError is raised for a subclass of Tuple[()]
2021-07-07 09:13:44 +09:00
Takeshi KOMIYA
5e5bca98f7
Merge branch '4.x' into 6525_linkcheck_warn_redirects
2021-07-07 02:09:50 +09:00
Takeshi KOMIYA
00d28e1e98
Merge branch '9320' into 4.x
2021-07-07 02:06:36 +09:00
Takeshi KOMIYA
c2e4820ba3
Fix a flake8 violation
2021-07-07 02:06:30 +09:00
Takeshi KOMIYA
7bd4603d85
Merge pull request #9358 from jonels-msft/menu-headings
...
Provide more semantic structure for screen-readers
2021-07-07 01:58:18 +09:00
David A. Ham
c218cf2192
Merge branch 'sphinx-doc:4.x' into container-latex
2021-07-04 20:24:49 +01:00
David Ham
52aac40148
Update tests to match code changes.
2021-07-04 20:15:56 +01:00
Takeshi KOMIYA
25e1221d1f
Merge branch '4.x' into humitos/add-html-assets-in-all-pages
2021-07-04 12:53:08 +09:00
Takeshi KOMIYA
54c6c666c1
Merge pull request #9386 from tk0miya/9384_autodoc_typehints_supports_attributes
...
Fix #9384 : autodoc_typehints='none' supports typehints for attributes
2021-07-04 11:24:04 +09:00
Takeshi KOMIYA
bc616d3b1a
Merge pull request #9367 from tk0miya/9364_single_element_tuple
...
Fix #9364 : autodoc: 1-element tuple on the defarg is wrongly rendered
2021-06-30 21:26:57 +09:00
Takeshi KOMIYA
ec351bdf3d
Merge branch '4.0.x' into 4.x
2021-06-30 21:24:06 +09:00
Takeshi KOMIYA
83f60d4045
Merge pull request #9381 from tronical/logo-url-fix
...
Fix support for html logo and favicon as url
2021-06-30 21:22:29 +09:00
Takeshi KOMIYA
2aef00d7bd
Fix #9384 : autodoc_typehints='none' supports typehints for attributes
2021-06-29 21:57:26 +09:00
Jakob Lykke Andersen
358efdd8f3
C++, fix name mangling of literals with digit seps
2021-06-28 19:30:59 +02:00
Simon Hausmann
6a4c215cf0
Add unit test for remote logo and fav icon
2021-06-28 13:28:29 +02:00
Jakob Lykke Andersen
450d5caa37
C++, support constrains in placeholders
2021-06-24 22:32:23 +02:00
Jakob Lykke Andersen
7bc2e052c5
C++, C, support digit separators in literals
2021-06-24 21:12:26 +02:00
Jakob Lykke Andersen
799c53aa11
C++, support explicit(<expr>) specifier
2021-06-24 20:26:22 +02:00
Jakob Lykke Andersen
d5da6fdf50
C++, support char8_t
2021-06-24 19:45:44 +02:00
Jakob Lykke Andersen
b94a60dc89
C++, support consteval and constinit
2021-06-24 19:39:15 +02:00
Jakob Lykke Andersen
57237dbb07
C++, support inline variables
2021-06-24 19:15:54 +02:00
Joe Nelson
e6ae41ed52
Include "role" attribute in expected HTML fragment
2021-06-21 17:08:24 -05:00
Takeshi KOMIYA
b9158b96d2
Fix #9364 : autodoc: 1-element tuple on the defarg is wrongly rendered
2021-06-21 02:43:55 +09:00
Jakob Lykke Andersen
50f5280603
C, keyword changes
...
- Add new keywords from C23.
- Add c_extra_keywords as confval.
- Move macro names from keywords to c_extra_keywords.
Fixes sphinx-doc/sphinx#9354
2021-06-17 08:29:39 +02:00
Martin Liska
b23eefa03b
Fix :samp:{var} in manual pages.
...
When a samp begins with a variable part, it is not unwrapped for manual
pages.
Fixes #1860 .
2021-06-16 09:30:08 +02:00
Manuel Kaufmann
f312792023
Merge branch '4.x' into humitos/add-html-assets-in-all-pages
2021-06-14 17:04:09 +02:00
Manuel Kaufmann
c818a70528
Rename variable to html_assets_policy
2021-06-14 16:50:26 +02:00
Walter Doerwald
9aedeee538
Remove configuration option html_signaturereturn_icon.
2021-06-14 14:02:19 +02:00
Raymond Sun
9ff1697939
Make test more readable
2021-06-14 16:15:50 +10:00
Raymond Sun
6a9cc9e5ea
Fix flake8 errors
2021-06-14 16:15:50 +10:00
Raymond Sun
c9aefa4a26
Readd prompt with new validator
2021-06-14 16:15:33 +10:00
Takeshi KOMIYA
7e71b759d7
Merge branch '4.x' into 4.0.x
2021-06-13 17:20:01 +09:00
Raymond Sun
81049deed6
Make quickstart just exit without reprompting
2021-06-12 00:07:34 +10:00
Raymond Sun
864a0b377d
Add test
2021-06-11 23:06:03 +10:00
Justin Mathews
cf8f5fce37
delete redundant test content
2021-06-10 11:46:17 -04:00
Justin Mathews
36c662eca5
positive test assertion
...
Co-authored-by: François Freitag <mail@franek.fr >
2021-06-10 11:43:14 -04:00
Justin Mathews
9b2a1e20e2
explicitly close the connection
...
Co-authored-by: François Freitag <mail@franek.fr >
2021-06-10 11:42:36 -04:00