You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
560 B
Python
28 lines
560 B
Python
from .mappers import (
|
|
DotNetSphinxMapper,
|
|
PythonSphinxMapper,
|
|
GoSphinxMapper,
|
|
JavaScriptSphinxMapper,
|
|
)
|
|
|
|
default_file_mapping = {
|
|
"python": ["*.py", "*.pyi"],
|
|
"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,
|
|
}
|