|
15 | 15 |
|
16 | 16 | import os |
17 | 17 | import sys |
18 | | -sys.path.insert(0,os.path.dirname(os.getcwd())) |
| 18 | + |
| 19 | +sys.path.insert(0, os.path.dirname(os.getcwd())) |
19 | 20 | from py4DSTEM import __version__ |
20 | 21 | from datetime import datetime |
21 | 22 |
|
22 | 23 | # -- Project information ----------------------------------------------------- |
23 | 24 |
|
24 | | -project = 'py4dstem' |
25 | | -copyright = f'{datetime.today().year}, py4DSTEM Development Team' |
26 | | -author = 'Ben Savitsky & Alex Rakowski' |
| 25 | +project = "py4dstem" |
| 26 | +copyright = f"{datetime.today().year}, py4DSTEM Development Team" |
| 27 | +author = "Ben Savitsky & Alex Rakowski" |
27 | 28 |
|
28 | 29 | # The full version, including alpha/beta/rc tags |
29 | 30 | # release = '0.14.0' |
|
35 | 36 | # Add any Sphinx extension module names here, as strings. They can be |
36 | 37 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
37 | 38 | # ones. |
38 | | -extensions = ['sphinx.ext.autodoc', |
39 | | - 'sphinx.ext.napoleon', |
40 | | - 'sphinx.ext.intersphinx'] |
| 39 | +extensions = ["sphinx.ext.autodoc", "sphinx.ext.napoleon", "sphinx.ext.intersphinx"] |
41 | 40 |
|
42 | 41 | # Other useful extensions |
43 | 42 | # sphinx_copybutton |
|
49 | 48 |
|
50 | 49 |
|
51 | 50 | # Add any paths that contain templates here, relative to this directory. |
52 | | -templates_path = ['_templates'] |
| 51 | +templates_path = ["_templates"] |
53 | 52 |
|
54 | 53 | # List of patterns, relative to source directory, that match files and |
55 | 54 | # directories to ignore when looking for source files. |
|
58 | 57 |
|
59 | 58 | # Set autodoc defaults |
60 | 59 | autodoc_default_options = { |
61 | | - 'members': True, |
62 | | - 'member-order': 'bysource', |
63 | | - 'special-members': '__init__' |
| 60 | + "members": True, |
| 61 | + "member-order": "bysource", |
| 62 | + "special-members": "__init__", |
64 | 63 | } |
65 | 64 |
|
66 | 65 | # Include todo items/lists |
67 | 66 | todo_include_todos = True |
68 | 67 |
|
69 | | -#autodoc_member_order = 'bysource' |
| 68 | +# autodoc_member_order = 'bysource' |
70 | 69 |
|
71 | 70 |
|
72 | | -# intersphinx options |
| 71 | +# intersphinx options |
73 | 72 |
|
74 | 73 | # intersphinx_mapping = { |
75 | 74 | # 'emdfile': ('https://pypi.org/project/emdfile/0.0.4/', None) |
|
80 | 79 | # The theme to use for HTML and HTML Help pages. See the documentation for |
81 | 80 | # a list of builtin themes. |
82 | 81 | # |
83 | | -html_theme = 'sphinx_rtd_theme' |
| 82 | +html_theme = "sphinx_rtd_theme" |
84 | 83 |
|
85 | 84 | # Add any paths that contain custom static files (such as style sheets) here, |
86 | 85 | # relative to this directory. They are copied after the builtin static files, |
87 | 86 | # so a file named "default.css" will overwrite the builtin "default.css". |
88 | | -html_static_path = ['../_static'] |
| 87 | +html_static_path = ["../_static"] |
89 | 88 |
|
90 | 89 |
|
91 | 90 | # The name of an image file (relative to this directory) to place at the top |
92 | 91 | # of the sidebar. |
93 | | -html_logo = '../_static/py4DSTEM_logo.png' |
| 92 | +html_logo = "../_static/py4DSTEM_logo.png" |
94 | 93 |
|
95 | 94 | # The name of an image file (within the static path) to use as favicon of the |
96 | 95 | # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 |
97 | 96 | # pixels large. |
98 | | -html_favicon = '../_static/py4DSTEM_logo_vsmall.ico' |
99 | | - |
100 | | - |
| 97 | +html_favicon = "../_static/py4DSTEM_logo_vsmall.ico" |
0 commit comments