|
12 | 12 | # |
13 | 13 | import os |
14 | 14 | import sys |
15 | | -sys.path.insert(0, os.path.abspath('../..')) |
| 15 | + |
| 16 | +sys.path.insert(0, os.path.abspath("../..")) |
16 | 17 |
|
17 | 18 |
|
18 | 19 | # -- Project information ----------------------------------------------------- |
19 | 20 |
|
20 | | -project = 'spm_2_bids' |
21 | | -author = 'Rémi Gau' |
| 21 | +project = "spm_2_bids" |
| 22 | +author = "Rémi Gau" |
22 | 23 |
|
23 | 24 | # The full version, including alpha/beta/rc tags |
24 | | -release = 'v0.1.0' |
| 25 | +release = "v0.1.0" |
25 | 26 |
|
26 | 27 |
|
27 | 28 | # -- General configuration --------------------------------------------------- |
|
30 | 31 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
31 | 32 | # ones. |
32 | 33 | extensions = [ |
33 | | - 'sphinxcontrib.matlab', |
34 | | - 'sphinx.ext.autodoc'] |
35 | | -matlab_src_dir = os.path.dirname(os.path.abspath('../../src')) |
36 | | -primary_domain = 'mat' |
| 34 | + "sphinxcontrib.matlab", |
| 35 | + "sphinx.ext.autodoc", |
| 36 | + "sphinx_copybutton", |
| 37 | + "myst_parser", |
| 38 | +] |
| 39 | +matlab_src_dir = os.path.dirname(os.path.abspath("../../src")) |
| 40 | +primary_domain = "mat" |
37 | 41 |
|
38 | 42 | # Add any paths that contain templates here, relative to this directory. |
39 | | -templates_path = ['_templates'] |
| 43 | +templates_path = ["_templates"] |
40 | 44 |
|
41 | 45 | # List of patterns, relative to source directory, that match files and |
42 | 46 | # directories to ignore when looking for source files. |
43 | 47 | # This pattern also affects html_static_path and html_extra_path. |
44 | 48 | exclude_patterns = [] |
45 | 49 |
|
46 | 50 | # The name of the Pygments (syntax highlighting) style to use. |
47 | | -pygments_style = 'sphinx' |
| 51 | +pygments_style = "sphinx" |
48 | 52 |
|
49 | 53 | # The master toctree document. |
50 | | -master_doc = 'index' |
| 54 | +master_doc = "index" |
51 | 55 |
|
52 | 56 | # source_suffix = ['.rst', '.md'] |
53 | | -source_suffix = '.rst' |
| 57 | +source_suffix = ".rst" |
54 | 58 |
|
55 | | -autodoc_member_order = 'bysource' |
| 59 | +autodoc_member_order = "bysource" |
56 | 60 |
|
57 | 61 |
|
58 | 62 | # -- Options for HTML output ------------------------------------------------- |
59 | 63 |
|
60 | 64 | # The theme to use for HTML and HTML Help pages. See the documentation for |
61 | 65 | # a list of builtin themes. |
62 | 66 | # |
63 | | -html_theme = 'sphinx_rtd_theme' |
| 67 | +html_theme = "sphinx_rtd_theme" |
64 | 68 |
|
65 | 69 | # Add any paths that contain custom static files (such as style sheets) here, |
66 | 70 | # relative to this directory. They are copied after the builtin static files, |
|
76 | 80 | # } |
77 | 81 |
|
78 | 82 | html_sidebars = { |
79 | | - '**': [ |
80 | | - 'about.html', |
81 | | - 'navigation.html', |
82 | | - 'relations.html', # needs 'show_related': True theme option to display |
83 | | - 'searchbox.html', |
84 | | - 'donate.html', |
| 83 | + "**": [ |
| 84 | + "about.html", |
| 85 | + "navigation.html", |
| 86 | + "relations.html", # needs 'show_related': True theme option to display |
| 87 | + "searchbox.html", |
| 88 | + "donate.html", |
85 | 89 | ] |
86 | 90 | } |
0 commit comments