|
18 | 18 | import sys |
19 | 19 |
|
20 | 20 | # Import local version of metrax. |
21 | | -sys.path.insert(0, os.path.abspath("../src")) |
| 21 | +sys.path.insert(0, os.path.abspath('../src')) |
22 | 22 |
|
23 | 23 | # -- Project information |
24 | 24 |
|
25 | | -project = "metrax" |
26 | | -copyright = "2025, The metrax Authors" |
27 | | -author = "The metrax Authors" |
| 25 | +project = 'metrax' |
| 26 | +copyright = '2025, The metrax Authors' |
| 27 | +author = 'The metrax Authors' |
28 | 28 |
|
29 | | -release = "" |
30 | | -version = "" |
| 29 | +release = '' |
| 30 | +version = '' |
31 | 31 |
|
32 | 32 |
|
33 | 33 | # -- General configuration |
34 | 34 |
|
35 | 35 | extensions = [ |
36 | | - "sphinx.ext.duration", |
37 | | - "sphinx.ext.doctest", |
38 | | - "sphinx.ext.intersphinx", |
39 | | - "sphinx.ext.napoleon", |
40 | | - "sphinx_rtd_theme", |
41 | | - "sphinx.ext.autodoc", |
42 | | - "sphinx.ext.autosummary", |
| 36 | + 'sphinx.ext.duration', |
| 37 | + 'sphinx.ext.doctest', |
| 38 | + 'sphinx.ext.intersphinx', |
| 39 | + 'sphinx.ext.napoleon', |
| 40 | + 'sphinx_rtd_theme', |
| 41 | + 'sphinx.ext.autodoc', |
| 42 | + 'sphinx.ext.autosummary', |
43 | 43 | ] |
44 | 44 |
|
45 | 45 | intersphinx_mapping = { |
46 | | - "python": ("https://docs.python.org/3/", None), |
47 | | - "sphinx": ("https://www.sphinx-doc.org/en/master/", None), |
| 46 | + 'python': ('https://docs.python.org/3/', None), |
| 47 | + 'sphinx': ('https://www.sphinx-doc.org/en/master/', None), |
48 | 48 | } |
49 | | -intersphinx_disabled_domains = ["std"] |
| 49 | +intersphinx_disabled_domains = ['std'] |
50 | 50 |
|
51 | | -templates_path = ["_templates"] |
| 51 | +templates_path = ['_templates'] |
52 | 52 |
|
53 | 53 | # -- Options for HTML output |
54 | 54 |
|
55 | | -html_theme = "sphinx_rtd_theme" |
| 55 | +html_theme = 'sphinx_rtd_theme' |
56 | 56 | html_theme_options = { |
57 | | - "collapse_navigation": False, |
58 | | - "navigation_depth": 2, |
| 57 | + 'collapse_navigation': False, |
| 58 | + 'navigation_depth': 2, |
59 | 59 | } |
60 | | -html_static_path = ["static"] |
| 60 | +html_static_path = ['static'] |
61 | 61 | html_js_files = [ |
62 | | - "custom.js", |
| 62 | + 'custom.js', |
63 | 63 | ] |
64 | 64 |
|
65 | 65 | # -- Options for EPUB output |
66 | | -epub_show_urls = "footnote" |
| 66 | +epub_show_urls = 'footnote' |
67 | 67 |
|
68 | 68 |
|
69 | 69 | # -- Extension configuration |
70 | 70 |
|
71 | | -autodoc_member_order = "bysource" |
| 71 | +autodoc_member_order = 'bysource' |
72 | 72 |
|
73 | 73 | autodoc_default_options = { |
74 | | - "members": None, |
75 | | - "undoc-members": True, |
76 | | - "show-inheritance": True, |
77 | | - "special-members": "__call__, __init__", |
| 74 | + 'members': None, |
| 75 | + 'undoc-members': True, |
| 76 | + 'show-inheritance': True, |
| 77 | + 'special-members': '__call__, __init__', |
78 | 78 | } |
0 commit comments