From 76854a4a1ac8735e1037d06f9cad6b6e831ecb0f Mon Sep 17 00:00:00 2001 From: Tekktrik Date: Thu, 11 May 2023 08:53:18 -0400 Subject: [PATCH] Mock import _bleio for sphinx --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 368df53..f13af60 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -26,7 +26,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 = ["bleak"] +autodoc_mock_imports = ["bleak", "_bleio"] intersphinx_mapping = {