|
9 | 9 | import sys |
10 | 10 | import os |
11 | 11 |
|
12 | | -sys.path.insert(0, os.path.abspath('..')) |
| 12 | +sys.path.insert(0, os.path.abspath("..")) |
13 | 13 |
|
14 | | -project = 'Implicit Filter' |
15 | | -copyright = '2025, Kacper Nowak' |
16 | | -author = 'Kacper Nowak' |
| 14 | +project = "Implicit Filter" |
| 15 | +copyright = "2025, Kacper Nowak" |
| 16 | +author = "Kacper Nowak" |
17 | 17 |
|
18 | 18 | # -- General configuration --------------------------------------------------- |
19 | 19 | # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration |
20 | 20 |
|
| 21 | +autodoc_mock_imports = ["numpy", "scipy", "xarray", "jax", "cupy", "matplotlib"] |
| 22 | + |
21 | 23 | extensions = [ |
22 | | - 'sphinx.ext.todo', |
23 | | - 'sphinx.ext.viewcode', |
24 | | - 'sphinx.ext.autodoc', |
25 | | - 'sphinx.ext.githubpages', |
26 | | - 'sphinx_rtd_theme', |
27 | | - 'sphinx.ext.napoleon' |
| 24 | + "sphinx.ext.todo", |
| 25 | + "sphinx.ext.viewcode", |
| 26 | + "sphinx.ext.autodoc", |
| 27 | + "sphinx.ext.githubpages", |
| 28 | + "sphinx_rtd_theme", |
| 29 | + "sphinx.ext.napoleon", |
28 | 30 | ] |
29 | 31 |
|
30 | | -source_suffix = '.rst' |
31 | | -master_doc = 'index' |
32 | | -language = 'en' |
33 | | -pygments_style = 'sphinx' |
34 | | - |
35 | | -apidoc_module_dir = './src/implicit_filter' |
36 | | -apidoc_output_dir = './_build/' |
37 | | -templates_path = ['_templates'] |
38 | | -exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
| 32 | +source_suffix = ".rst" |
| 33 | +master_doc = "index" |
| 34 | +language = "en" |
| 35 | +pygments_style = "sphinx" |
39 | 36 |
|
| 37 | +apidoc_module_dir = "./src/implicit_filter" |
| 38 | +apidoc_output_dir = "./_build/" |
| 39 | +templates_path = ["_templates"] |
| 40 | +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
40 | 41 |
|
41 | 42 |
|
42 | 43 | # -- Options for HTML output ------------------------------------------------- |
43 | 44 | # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output |
44 | 45 |
|
45 | | -html_theme = 'sphinx_rtd_theme' |
46 | | -html_static_path = ['_static'] |
| 46 | +html_theme = "sphinx_rtd_theme" |
| 47 | +html_static_path = ["_static"] |
0 commit comments