| 1 |
import sys |
| 2 |
from pathlib import Path |
| 3 |
|
| 4 |
sys.path.insert(0, str(Path.cwd().resolve() / 'src')) |
| 5 |
|
| 6 |
extensions = ['sphinx.ext.apidoc'] |
| 7 |
|
| 8 |
apidoc_include_private = True |
| 9 |
apidoc_follow_links = False |
| 10 |
apidoc_separate_modules = True |
| 11 |
apidoc_no_headings = False |
| 12 |
apidoc_module_first = True |
| 13 |
apidoc_modules = [ |
| 14 |
{ |
| 15 |
'path': 'src', |
| 16 |
'destination': 'generated', |
| 17 |
'exclude_patterns': ['src/exclude_package.py'], |
| 18 |
'automodule_options': ['members', 'undoc-members'], |
| 19 |
'max_depth': 3, |
| 20 |
'implicit_namespaces': False, |
| 21 |
} |
| 22 |
] |