|
10 | 10 | # -- Project information -----------------------------------------------------
|
11 | 11 | # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
|
12 | 12 |
|
13 |
| -pyproject = toml.load('../pyproject.toml') |
14 |
| -project = pyproject['project']['name'].upper() |
15 |
| -copyright = '2024, 0x6fe1be2' |
16 |
| -author = pyproject['project']['authors'][0]['name'] |
17 |
| -release = pyproject['project']['version'] |
| 13 | +pyproject = toml.load("../pyproject.toml") |
| 14 | +project = pyproject["project"]["name"].upper() |
| 15 | +copyright = "2025, 0x6fe1be2" |
| 16 | +author = pyproject["project"]["authors"][0]["name"] |
| 17 | +release = pyproject["project"]["version"] |
18 | 18 |
|
19 | 19 | # -- General configuration ---------------------------------------------------
|
20 | 20 | # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
21 | 21 |
|
22 | 22 | extensions = [
|
23 |
| - 'sphinx.ext.autodoc', |
24 |
| - 'sphinx.ext.autosummary', |
25 |
| - 'sphinx.ext.napoleon', |
26 |
| - 'sphinxcontrib.jquery', |
27 |
| - 'autoapi.extension', |
| 23 | + "sphinx.ext.autodoc", |
| 24 | + "sphinx.ext.autosummary", |
| 25 | + "sphinx.ext.napoleon", |
| 26 | + "sphinxcontrib.jquery", |
| 27 | + "autoapi.extension", |
28 | 28 | ]
|
29 | 29 |
|
30 |
| -sys.path.insert(0, os.path.abspath('../src')) |
31 |
| -autoapi_dirs = ['../src/vagd'] |
32 |
| -autoclass_content = 'both' |
| 30 | +sys.path.insert(0, os.path.abspath("../src")) |
| 31 | +autoapi_dirs = ["../src/vagd"] |
| 32 | +autoclass_content = "both" |
33 | 33 |
|
34 |
| -templates_path = ['_templates'] |
35 |
| -autoapi_ignore = exclude_patterns = ['*env*', '*__pycache__*', '*.egg-info' , '*vagd/gdb/*'] |
| 34 | +templates_path = ["_templates"] |
| 35 | +autoapi_ignore = exclude_patterns = ["*env*", "*__pycache__*", "*.egg-info", "*vagd/gdb/*"] |
36 | 36 | autoapi_add_toctree_entry = False
|
37 | 37 |
|
38 | 38 |
|
39 |
| - |
40 | 39 | # -- Options for HTML output -------------------------------------------------
|
41 | 40 | # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
|
42 | 41 |
|
43 |
| -html_theme = 'sphinx_rtd_theme' |
44 |
| -html_static_path = ['_static'] |
45 |
| - |
| 42 | +html_theme = "sphinx_rtd_theme" |
| 43 | +html_static_path = ["_static"] |
0 commit comments