Closed arwedus closed 7 months ago
The allowed type is then the one from the default value, which seems to always be set correctly.
Hi @arwedus, it does not I'm afraid,
types=Any
was added to fix https://github.com/executablebooks/MyST-Parser/issues/558
this is now fixed in sphinx
https://github.com/executablebooks/MyST-Parser/blob/978e845543b5bcb7af0ff89cac9f798cb8c16ab3/myst_parser/sphinx_ext/main.py#L56
for sphinx 7.3 support, this should be rewritten to:
-> The allowed type is then the one from the default value, which seems to always be set correctly.
See also:
https://github.com/sphinx-doc/sphinx/pull/11746#issuecomment-2016605370