mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-06 09:20:27 +00:00
commit
9a764df41a
@ -43,7 +43,7 @@ def run_autoapi(app):
|
|||||||
domain_obj = domain(app, template_dir=app.config.autoapi_template_dir)
|
domain_obj = domain(app, template_dir=app.config.autoapi_template_dir)
|
||||||
|
|
||||||
if app.config.autoapi_file_patterns:
|
if app.config.autoapi_file_patterns:
|
||||||
file_patterns = app.config.autoapi_file_pattern
|
file_patterns = app.config.autoapi_file_patterns
|
||||||
else:
|
else:
|
||||||
file_patterns = default_file_mapping.get(app.config.autoapi_type, [])
|
file_patterns = default_file_mapping.get(app.config.autoapi_type, [])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user