|
12 | 12 | # |
13 | 13 | import os |
14 | 14 | import sys |
15 | | -sys.path.insert(0, os.path.abspath('../mpl_interactions')) |
| 15 | + |
| 16 | +sys.path.insert(0, os.path.abspath("../mpl_interactions")) |
16 | 17 | import mpl_interactions as mpl_inter |
17 | 18 |
|
18 | 19 | release = mpl_inter.__version__ |
|
22 | 23 |
|
23 | 24 | # -- Project information ----------------------------------------------------- |
24 | 25 |
|
25 | | -project = 'mpl-interactions' |
26 | | -copyright = '2020, Ian Hunt-Isaak' |
27 | | -author = 'Ian Hunt-Isaak' |
| 26 | +project = "mpl-interactions" |
| 27 | +copyright = "2020, Ian Hunt-Isaak" |
| 28 | +author = "Ian Hunt-Isaak" |
28 | 29 |
|
29 | 30 | # The full version, including alpha/beta/rc tags |
30 | 31 |
|
|
35 | 36 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
36 | 37 | # ones. |
37 | 38 | extensions = [ |
38 | | - #'sphinx.ext.autodoc', |
39 | | - #'sphinx.ext.autosummary', |
40 | | - 'nbsphinx', |
41 | | - 'sphinx.ext.mathjax', |
42 | | - 'sphinx.ext.linkcode', |
43 | | - 'sphinx.ext.napoleon', |
44 | | - 'numpydoc', |
45 | | - 'jupyter_sphinx', |
46 | | - 'sphinx_copybutton', |
47 | | - ] |
| 39 | + "sphinx.ext.mathjax", |
| 40 | + "sphinx.ext.linkcode", |
| 41 | + "sphinx.ext.napoleon", |
| 42 | + "numpydoc", |
| 43 | + "jupyter_sphinx", |
| 44 | + "sphinx_copybutton", |
| 45 | +] |
48 | 46 |
|
49 | 47 |
|
50 | 48 | napoleon_google_docstring = False |
|
57 | 55 | napoleon_use_ivar = False |
58 | 56 | napoleon_use_param = False |
59 | 57 | napoleon_use_rtype = False |
60 | | -add_module_names=False |
| 58 | +add_module_names = False |
61 | 59 |
|
62 | 60 | autosummary_generate = True |
63 | 61 | autodoc_default_options = { |
64 | | - 'members':True, |
65 | | - 'show-inheritance':True, |
| 62 | + "members": True, |
| 63 | + "show-inheritance": True, |
66 | 64 | } |
67 | | -nbsphinx_execute = 'always' |
68 | | -nbsphinx_execute_arguments = [ |
69 | | - "--InlineBackend.figure_formats={'svg', 'pdf'}", |
70 | | - "--InlineBackend.rc={'figure.dpi': 96}", |
71 | | -] |
| 65 | + |
72 | 66 | # Add any paths that contain custom static files (such as style sheets) here, |
73 | 67 | # relative to this directory. They are copied after the builtin static files, |
74 | 68 | # so a file named "default.css" will overwrite the builtin "default.css". |
75 | | -html_static_path = ['_static'] |
| 69 | +html_static_path = ["_static"] |
76 | 70 |
|
77 | 71 | # Add any paths that contain templates here, relative to this directory. |
78 | | -templates_path = ['_templates'] |
| 72 | +templates_path = ["_templates"] |
79 | 73 |
|
80 | 74 | # List of patterns, relative to source directory, that match files and |
81 | 75 | # directories to ignore when looking for source files. |
82 | 76 | # This pattern also affects html_static_path and html_extra_path. |
83 | | -exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '**ipynb_checkpoints'] |
| 77 | +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "**ipynb_checkpoints"] |
84 | 78 |
|
85 | 79 |
|
86 | 80 | # -- Options for HTML output ------------------------------------------------- |
87 | 81 |
|
88 | 82 | # The theme to use for HTML and HTML Help pages. See the documentation for |
89 | 83 | # a list of builtin themes. |
90 | 84 | # |
91 | | -html_theme = 'sphinx_rtd_theme' |
| 85 | +html_theme = "sphinx_rtd_theme" |
92 | 86 | html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] |
93 | 87 |
|
94 | 88 | html_theme_options = { |
95 | | - # Toc options |
96 | | - 'collapse_navigation': False, |
97 | | - 'sticky_navigation': True, |
98 | | - 'navigation_depth': 4, |
| 89 | + # Toc options |
| 90 | + "collapse_navigation": False, |
| 91 | + "sticky_navigation": True, |
| 92 | + "navigation_depth": 4, |
99 | 93 | } |
100 | 94 |
|
101 | 95 |
|
102 | | -master_doc = 'index' |
| 96 | +master_doc = "index" |
103 | 97 |
|
104 | 98 |
|
105 | 99 | def setup(app): |
|
0 commit comments