diff --git a/docs/conf.py b/docs/conf.py index b4a3fb09..c9ed35d7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -29,6 +29,14 @@ # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. + +sys.path.append(os.path.abspath('../ports/esp32/modules')) + +autodoc_mock_imports = ["time", "micropython", "machine", + "framebuf", "ubinascii", "neopixel", "mpython", "random", + "_thread","ustruct" + ] + extensions = [ 'sphinx.ext.autodoc', 'sphinx.ext.doctest', diff --git a/docs/extboard/parrot.rst b/docs/extboard/parrot.rst index 7346d93c..8d9ec058 100644 --- a/docs/extboard/parrot.rst +++ b/docs/extboard/parrot.rst @@ -90,7 +90,6 @@ Python库 +++++++++ -- 掌控拓展板 ``parrot`` 模块: https://github.com/labplus-cn/mPython-lib -- :ref:`auido