|
22 | 22 |
|
23 | 23 | import sphinx_bootstrap_theme |
24 | 24 |
|
25 | | -sys.path.insert(0, os.path.abspath('../')) |
| 25 | +sys.path.insert(0, os.path.abspath("../")) |
26 | 26 |
|
27 | 27 |
|
28 | 28 | # -- General configuration ------------------------------------------------ |
|
36 | 36 | # ones. |
37 | 37 |
|
38 | 38 | extensions = [ |
39 | | - 'sphinx.ext.autodoc', |
40 | | - 'sphinx.ext.coverage', |
41 | | - 'sphinx.ext.viewcode', |
42 | | - 'sphinx.ext.githubpages', |
43 | | - 'sphinx.ext.autosummary', |
44 | | - 'sphinx.ext.napoleon' |
| 39 | + "sphinx.ext.autodoc", |
| 40 | + "sphinx.ext.coverage", |
| 41 | + "sphinx.ext.viewcode", |
| 42 | + "sphinx.ext.githubpages", |
| 43 | + "sphinx.ext.autosummary", |
| 44 | + "sphinx.ext.napoleon", |
45 | 45 | ] |
46 | 46 |
|
47 | 47 |
|
48 | 48 | # Add any paths that contain templates here, relative to this directory. |
49 | | -templates_path = ['_templates'] |
| 49 | +templates_path = ["_templates"] |
50 | 50 |
|
51 | 51 | # The suffix(es) of source filenames. |
52 | 52 | # You can specify multiple suffix as a list of string: |
53 | 53 | # |
54 | 54 | # source_suffix = ['.rst', '.md'] |
55 | | -source_suffix = '.rst' |
| 55 | +source_suffix = ".rst" |
56 | 56 |
|
57 | 57 | # The master toctree document. |
58 | | -master_doc = 'index' |
| 58 | +master_doc = "index" |
59 | 59 |
|
60 | 60 | # General information about the project. |
61 | | -project = 'pyntcloud' |
62 | | -copyright = 'HAKUNA MATATA' |
63 | | -author = 'David de la Iglesia Castro' |
| 61 | +project = "pyntcloud" |
| 62 | +copyright = "HAKUNA MATATA" |
| 63 | +author = "David de la Iglesia Castro" |
64 | 64 |
|
65 | 65 | # The version info for the project you're documenting, acts as replacement for |
66 | 66 | # |version| and |release|, also used in various other places throughout the |
67 | 67 | # built documents. |
68 | 68 | # |
69 | 69 | # The short X.Y version. |
70 | | -version = '0.1.3' |
| 70 | +version = "0.1.3" |
71 | 71 | # The full version, including alpha/beta/rc tags. |
72 | | -release = '0.1.3' |
| 72 | +release = "0.1.3" |
73 | 73 |
|
74 | 74 | # The language for content autogenerated by Sphinx. Refer to documentation |
75 | 75 | # for a list of supported languages. |
|
81 | 81 | # List of patterns, relative to source directory, that match files and |
82 | 82 | # directories to ignore when looking for source files. |
83 | 83 | # This patterns also effect to html_static_path and html_extra_path |
84 | | -exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
| 84 | +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
85 | 85 |
|
86 | 86 | # The name of the Pygments (syntax highlighting) style to use. |
87 | | -pygments_style = 'sphinx' |
| 87 | +pygments_style = "sphinx" |
88 | 88 |
|
89 | 89 | # If true, `todo` and `todoList` produce output, else they produce nothing. |
90 | 90 | todo_include_todos = False |
|
95 | 95 | # The theme to use for HTML and HTML Help pages. See the documentation for |
96 | 96 | # a list of builtin themes. |
97 | 97 | # |
98 | | -html_theme = 'bootstrap' |
| 98 | +html_theme = "bootstrap" |
99 | 99 | html_theme_path = sphinx_bootstrap_theme.get_html_theme_path() |
100 | 100 | html_logo = "images/pyntcloud_logo_small.png" |
101 | 101 |
|
|
112 | 112 | # -- Options for HTMLHelp output ------------------------------------------ |
113 | 113 |
|
114 | 114 | # Output file base name for HTML help builder. |
115 | | -htmlhelp_basename = 'pyntclouddoc' |
| 115 | +htmlhelp_basename = "pyntclouddoc" |
116 | 116 |
|
117 | 117 |
|
118 | 118 | # -- Options for LaTeX output --------------------------------------------- |
|
121 | 121 | # The paper size ('letterpaper' or 'a4paper'). |
122 | 122 | # |
123 | 123 | # 'papersize': 'letterpaper', |
124 | | - |
125 | 124 | # The font size ('10pt', '11pt' or '12pt'). |
126 | 125 | # |
127 | 126 | # 'pointsize': '10pt', |
128 | | - |
129 | 127 | # Additional stuff for the LaTeX preamble. |
130 | 128 | # |
131 | 129 | # 'preamble': '', |
132 | | - |
133 | 130 | # Latex figure (float) alignment |
134 | 131 | # |
135 | 132 | # 'figure_align': 'htbp', |
|
139 | 136 | # (source start file, target name, title, |
140 | 137 | # author, documentclass [howto, manual, or own class]). |
141 | 138 | latex_documents = [ |
142 | | - (master_doc, 'pyntcloud.tex', 'pyntcloud Documentation', |
143 | | - 'David de la Iglesia Castro', 'manual'), |
| 139 | + ( |
| 140 | + master_doc, |
| 141 | + "pyntcloud.tex", |
| 142 | + "pyntcloud Documentation", |
| 143 | + "David de la Iglesia Castro", |
| 144 | + "manual", |
| 145 | + ), |
144 | 146 | ] |
145 | 147 |
|
146 | 148 |
|
147 | 149 | # -- Options for manual page output --------------------------------------- |
148 | 150 |
|
149 | 151 | # One entry per manual page. List of tuples |
150 | 152 | # (source start file, name, description, authors, manual section). |
151 | | -man_pages = [ |
152 | | - (master_doc, 'pyntcloud', 'pyntcloud Documentation', |
153 | | - [author], 1) |
154 | | -] |
| 153 | +man_pages = [(master_doc, "pyntcloud", "pyntcloud Documentation", [author], 1)] |
155 | 154 |
|
156 | 155 |
|
157 | 156 | # -- Options for Texinfo output ------------------------------------------- |
|
160 | 159 | # (source start file, target name, title, author, |
161 | 160 | # dir menu entry, description, category) |
162 | 161 | texinfo_documents = [ |
163 | | - (master_doc, 'pyntcloud', 'pyntcloud Documentation', |
164 | | - author, 'pyntcloud', 'One line description of project.', |
165 | | - 'Miscellaneous'), |
| 162 | + ( |
| 163 | + master_doc, |
| 164 | + "pyntcloud", |
| 165 | + "pyntcloud Documentation", |
| 166 | + author, |
| 167 | + "pyntcloud", |
| 168 | + "One line description of project.", |
| 169 | + "Miscellaneous", |
| 170 | + ), |
166 | 171 | ] |
0 commit comments