From 5355337b04b32cd7c488a49cc6b9716c676c056c Mon Sep 17 00:00:00 2001 From: Alec Delaney Date: Fri, 4 Feb 2022 13:06:14 -0500 Subject: [PATCH] Add typing modules to mock imports --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index dc196c2..083e962 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -23,7 +23,7 @@ # Uncomment the below if you use native CircuitPython modules such as # digitalio, micropython and busio. List the modules you use. Without it, the # autodoc module docs will fail to generate with a warning. -autodoc_mock_imports = ["busio", "digitalio"] +autodoc_mock_imports = ["busio", "digitalio", "circuitpython_typing", "_typing"] intersphinx_mapping = { "python": ("https://docs.python.org/3.4", None),