|
2 | 2 | import sys
|
3 | 3 |
|
4 | 4 | # Add the project's source code directory to the system path
|
5 |
| -sys.path.insert(0, os.path.abspath('../src')) |
| 5 | +sys.path.insert(0, os.path.abspath("../src")) |
6 | 6 |
|
7 | 7 | # Project information
|
8 |
| -project = 'AI Object Recognition' |
9 |
| -author = 'Your Name or Team' |
10 |
| -release = '1.0.0' |
| 8 | +project: str = "AI Object Recognition" |
| 9 | +author: str = "Your Name or Team" |
| 10 | +release: str = "1.0.0" |
11 | 11 |
|
12 | 12 | # Sphinx extensions
|
13 |
| -extensions = [ |
14 |
| - 'sphinx.ext.autodoc', # Automatically generate documentation from docstrings |
15 |
| - 'sphinx.ext.napoleon', # Support for NumPy and Google style docstrings |
16 |
| - 'sphinx.ext.viewcode', # Add links to source code |
| 13 | +extensions: list[str] = [ |
| 14 | + "sphinx.ext.autodoc", # Automatically generate documentation from docstrings |
| 15 | + "sphinx.ext.napoleon", # Support for NumPy and Google style docstrings |
| 16 | + "sphinx.ext.viewcode", # Add links to source code |
17 | 17 | ]
|
18 | 18 |
|
19 | 19 | # Templates and static files
|
20 |
| -templates_path = ['_templates'] |
21 |
| -html_static_path = ['_static'] |
| 20 | +templates_path: list[str] = ["_templates"] |
| 21 | +html_static_path: list[str] = ["_static"] |
22 | 22 |
|
23 | 23 | # Files and patterns to exclude from the build
|
24 |
| -exclude_patterns = [] |
| 24 | +exclude_patterns: list[str] = [] |
25 | 25 |
|
26 | 26 | # HTML theme
|
27 |
| -html_theme = 'alabaster' # Replace with 'sphinx_rtd_theme' if you prefer ReadTheDocs style |
| 27 | +html_theme: str = "alabaster" # Replace with 'sphinx_rtd_theme' if you prefer ReadTheDocs style |
0 commit comments