sphinx-autoapi/autoapi/backends.py

23 lines
530 B
Python
Raw Normal View History

2015-08-03 20:12:34 +00:00
from .mappers import DotNetSphinxMapper, PythonSphinxMapper, GoSphinxMapper, JavaScriptSphinxMapper
default_file_mapping = {
'python': ['*.py'],
'dotnet': ['project.json', '*.csproj', '*.vbproj'],
'go': ['*.go'],
'javascript': ['*.js'],
}
2016-11-04 20:42:15 +00:00
2015-08-03 20:12:34 +00:00
default_ignore_patterns = {
'dotnet': ['*toc.yml', '*index.yml'],
'python': ['*migrations*'],
}
2016-11-04 20:42:15 +00:00
2015-08-03 20:12:34 +00:00
default_backend_mapping = {
'python': PythonSphinxMapper,
'dotnet': DotNetSphinxMapper,
'go': GoSphinxMapper,
'javascript': JavaScriptSphinxMapper,
}