We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8854d84 commit 7dda7b5Copy full SHA for 7dda7b5
myst_parser/__init__.py
@@ -1,5 +1,5 @@
1
"""An extended commonmark compliant parser, with bridges to docutils & sphinx."""
2
-from typing import TYPE_CHECKING
+from typing import TYPE_CHECKING, Any
3
4
__version__ = "0.17.2"
5
@@ -37,7 +37,7 @@ def setup_sphinx(app: "Sphinx"):
37
for name, default, field in MdParserConfig().as_triple():
38
if not field.metadata.get("docutils_only", False):
39
# TODO add types?
40
- app.add_config_value(f"myst_{name}", default, "env")
+ app.add_config_value(f"myst_{name}", default, "env", types=Any)
41
42
app.connect("builder-inited", create_myst_config)
43
app.connect("builder-inited", override_mathjax)
0 commit comments