mirror of
https://github.com/readthedocs/sphinx-autoapi
synced 2024-11-10 01:10:27 +00:00
4b13bebc8e
Indexes are still broken due to past changes, but intermediate namespaces are now linkable.
17 lines
459 B
Python
17 lines
459 B
Python
from .base import UnknownType
|
|
#from .python import PythonModule, PythonClass, PythonFunction
|
|
|
|
|
|
#def classify(obj, obj_type):
|
|
# if 'type' not in obj:
|
|
# return ''
|
|
#
|
|
# if obj_type == 'python':
|
|
# if obj['type'] == 'module':
|
|
# return PythonModule(obj)
|
|
# if obj['type'] == 'class':
|
|
# return PythonClass(obj)
|
|
# if obj['type'] == 'function':
|
|
# return PythonFunction(obj)
|
|
# return UnknownType(obj)
|