From 641612213051302a257497aea4fa4092921c01f3 Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Sun, 20 Nov 2022 18:52:19 -0800 Subject: [PATCH] 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 --- docs/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 37839824f..22382519e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -182,6 +182,10 @@ if IN_SPHINX: ] sys.path = path_dirs + sys.path + from sphinx.domains.javascript import JavaScriptDomain, JSXRefRole + + JavaScriptDomain.roles["func"] = JSXRefRole() + import micropip # noqa: F401 import pyodide