mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-17 21:25:35 +00:00
23 lines
530 B
Python
23 lines
530 B
Python
from .mappers import DotNetSphinxMapper, PythonSphinxMapper, GoSphinxMapper, JavaScriptSphinxMapper
|
|
|
|
default_file_mapping = {
|
|
'python': ['*.py'],
|
|
'dotnet': ['project.json', '*.csproj', '*.vbproj'],
|
|
'go': ['*.go'],
|
|
'javascript': ['*.js'],
|
|
}
|
|
|
|
|
|
default_ignore_patterns = {
|
|
'dotnet': ['*toc.yml', '*index.yml'],
|
|
'python': ['*migrations*'],
|
|
}
|
|
|
|
|
|
default_backend_mapping = {
|
|
'python': PythonSphinxMapper,
|
|
'dotnet': DotNetSphinxMapper,
|
|
'go': GoSphinxMapper,
|
|
'javascript': JavaScriptSphinxMapper,
|
|
}
|