fix doc building more
This commit is contained in:
parent
acc6bec9da
commit
95535a238e
6
conf.py
6
conf.py
@ -86,7 +86,8 @@ extensions.append('autoapi.extension')
|
|||||||
autoapi_type = 'python'
|
autoapi_type = 'python'
|
||||||
# Uncomment this if debugging autoapi
|
# Uncomment this if debugging autoapi
|
||||||
autoapi_keep_files = True
|
autoapi_keep_files = True
|
||||||
autoapi_dirs = [os.path.join('circuitpython-stubs', x) for x in os.listdir('circuitpython-stubs')]
|
autoapi_dirs = [os.path.join('circuitpython-stubs', x) for x in os.listdir('circuitpython-stubs') if os.path.exists(os.path.join("circuitpython-stubs", x, "__init__.pyi"))]
|
||||||
|
print("autoapi_dirs", autoapi_dirs)
|
||||||
autoapi_add_toctree_entry = False
|
autoapi_add_toctree_entry = False
|
||||||
autoapi_options = ['members', 'undoc-members', 'private-members', 'show-inheritance', 'special-members', 'show-module-summary']
|
autoapi_options = ['members', 'undoc-members', 'private-members', 'show-inheritance', 'special-members', 'show-module-summary']
|
||||||
autoapi_template_dir = 'docs/autoapi/templates'
|
autoapi_template_dir = 'docs/autoapi/templates'
|
||||||
@ -204,7 +205,8 @@ exclude_patterns = ["**/build*",
|
|||||||
"supervisor",
|
"supervisor",
|
||||||
"tests",
|
"tests",
|
||||||
"test-stubs",
|
"test-stubs",
|
||||||
"tools"]
|
"tools",
|
||||||
|
"circuitpython-stubs/README.rst"]
|
||||||
|
|
||||||
# The reST default role (used for this markup: `text`) to use for all
|
# The reST default role (used for this markup: `text`) to use for all
|
||||||
# documents.
|
# documents.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user