DOCS: Get rid of those damn parentheses at the end of type names (#3270)

This has been bothering me for a long time. Fix discovered by trial and error.
The parens are getting added here:
https://github.com/sphinx-doc/sphinx/blob/master/sphinx/roles.py#L87
This commit is contained in:
Hood Chatham 2022-11-20 18:52:19 -08:00 committed by GitHub
parent 059cca3f48
commit 6416122130
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -182,6 +182,10 @@ if IN_SPHINX:
] ]
sys.path = path_dirs + sys.path sys.path = path_dirs + sys.path
from sphinx.domains.javascript import JavaScriptDomain, JSXRefRole
JavaScriptDomain.roles["func"] = JSXRefRole()
import micropip # noqa: F401 import micropip # noqa: F401
import pyodide import pyodide