|
17 | 17 | # sys.path.insert(0, os.path.abspath('.')) |
18 | 18 | import os |
19 | 19 | import sys |
| 20 | + |
20 | 21 | sys.path.insert(0, os.path.abspath("..")) |
21 | 22 |
|
22 | 23 | # -- Project information ----------------------------------------------------- |
23 | 24 |
|
24 | | -project = 'python-osc' |
25 | | -copyright = '2019, attwad' |
26 | | -author = 'attwad' |
| 25 | +project = "python-osc" |
| 26 | +copyright = "2019, attwad" |
| 27 | +author = "attwad" |
27 | 28 |
|
28 | 29 | # The short X.Y version |
29 | | -version = '' |
| 30 | +version = "" |
30 | 31 | # The full version, including alpha/beta/rc tags |
31 | | -release = '1.7.1' |
| 32 | +release = "1.7.1" |
32 | 33 |
|
33 | 34 |
|
34 | 35 | # -- General configuration --------------------------------------------------- |
|
41 | 42 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
42 | 43 | # ones. |
43 | 44 | extensions = [ |
44 | | - 'sphinx.ext.autodoc', |
45 | | - 'sphinx.ext.doctest', |
46 | | - 'sphinx.ext.coverage', |
47 | | - 'sphinx.ext.viewcode', |
48 | | - 'sphinx.ext.napoleon' |
| 45 | + "sphinx.ext.autodoc", |
| 46 | + "sphinx.ext.doctest", |
| 47 | + "sphinx.ext.coverage", |
| 48 | + "sphinx.ext.viewcode", |
| 49 | + "sphinx.ext.napoleon", |
49 | 50 | ] |
50 | 51 |
|
51 | 52 | # Add any paths that contain templates here, relative to this directory. |
52 | | -templates_path = ['_templates'] |
| 53 | +templates_path = ["_templates"] |
53 | 54 |
|
54 | 55 | # The suffix(es) of source filenames. |
55 | 56 | # You can specify multiple suffix as a list of string: |
56 | 57 | # |
57 | 58 | # source_suffix = ['.rst', '.md'] |
58 | | -source_suffix = '.rst' |
| 59 | +source_suffix = ".rst" |
59 | 60 |
|
60 | 61 | # The master toctree document. |
61 | | -master_doc = 'index' |
| 62 | +master_doc = "index" |
62 | 63 |
|
63 | 64 | # The language for content autogenerated by Sphinx. Refer to documentation |
64 | 65 | # for a list of supported languages. |
|
70 | 71 | # List of patterns, relative to source directory, that match files and |
71 | 72 | # directories to ignore when looking for source files. |
72 | 73 | # This pattern also affects html_static_path and html_extra_path. |
73 | | -exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] |
| 74 | +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] |
74 | 75 |
|
75 | 76 | # The name of the Pygments (syntax highlighting) style to use. |
76 | 77 | pygments_style = None |
|
81 | 82 | # The theme to use for HTML and HTML Help pages. See the documentation for |
82 | 83 | # a list of builtin themes. |
83 | 84 | # |
84 | | -html_theme = 'sphinx_rtd_theme' |
| 85 | +html_theme = "sphinx_rtd_theme" |
85 | 86 |
|
86 | 87 | # Theme options are theme-specific and customize the look and feel of a theme |
87 | 88 | # further. For a list of options available for each theme, see the |
|
92 | 93 | # Add any paths that contain custom static files (such as style sheets) here, |
93 | 94 | # relative to this directory. They are copied after the builtin static files, |
94 | 95 | # so a file named "default.css" will overwrite the builtin "default.css". |
95 | | -html_static_path = ['_static'] |
| 96 | +html_static_path = ["_static"] |
96 | 97 |
|
97 | 98 | # Custom sidebar templates, must be a dictionary that maps document names |
98 | 99 | # to template names. |
|
108 | 109 | # -- Options for HTMLHelp output --------------------------------------------- |
109 | 110 |
|
110 | 111 | # Output file base name for HTML help builder. |
111 | | -htmlhelp_basename = 'python-oscdoc' |
| 112 | +htmlhelp_basename = "python-oscdoc" |
112 | 113 |
|
113 | 114 |
|
114 | 115 | # -- Options for LaTeX output ------------------------------------------------ |
|
117 | 118 | # The paper size ('letterpaper' or 'a4paper'). |
118 | 119 | # |
119 | 120 | # 'papersize': 'letterpaper', |
120 | | - |
121 | 121 | # The font size ('10pt', '11pt' or '12pt'). |
122 | 122 | # |
123 | 123 | # 'pointsize': '10pt', |
124 | | - |
125 | 124 | # Additional stuff for the LaTeX preamble. |
126 | 125 | # |
127 | 126 | # 'preamble': '', |
128 | | - |
129 | 127 | # Latex figure (float) alignment |
130 | 128 | # |
131 | 129 | # 'figure_align': 'htbp', |
|
135 | 133 | # (source start file, target name, title, |
136 | 134 | # author, documentclass [howto, manual, or own class]). |
137 | 135 | latex_documents = [ |
138 | | - (master_doc, 'python-osc.tex', 'python-osc Documentation', |
139 | | - 'attwad', 'manual'), |
| 136 | + (master_doc, "python-osc.tex", "python-osc Documentation", "attwad", "manual"), |
140 | 137 | ] |
141 | 138 |
|
142 | 139 |
|
143 | 140 | # -- Options for manual page output ------------------------------------------ |
144 | 141 |
|
145 | 142 | # One entry per manual page. List of tuples |
146 | 143 | # (source start file, name, description, authors, manual section). |
147 | | -man_pages = [ |
148 | | - (master_doc, 'python-osc', 'python-osc Documentation', |
149 | | - [author], 1) |
150 | | -] |
| 144 | +man_pages = [(master_doc, "python-osc", "python-osc Documentation", [author], 1)] |
151 | 145 |
|
152 | 146 |
|
153 | 147 | # -- Options for Texinfo output ---------------------------------------------- |
|
156 | 150 | # (source start file, target name, title, author, |
157 | 151 | # dir menu entry, description, category) |
158 | 152 | texinfo_documents = [ |
159 | | - (master_doc, 'python-osc', 'python-osc Documentation', |
160 | | - author, 'python-osc', 'One line description of project.', |
161 | | - 'Miscellaneous'), |
| 153 | + ( |
| 154 | + master_doc, |
| 155 | + "python-osc", |
| 156 | + "python-osc Documentation", |
| 157 | + author, |
| 158 | + "python-osc", |
| 159 | + "One line description of project.", |
| 160 | + "Miscellaneous", |
| 161 | + ), |
162 | 162 | ] |
163 | 163 |
|
164 | 164 |
|
|
177 | 177 | # epub_uid = '' |
178 | 178 |
|
179 | 179 | # A list of files that should not be packed into the epub file. |
180 | | -epub_exclude_files = ['search.html'] |
| 180 | +epub_exclude_files = ["search.html"] |
181 | 181 |
|
182 | 182 |
|
183 | 183 | # -- Extension configuration ------------------------------------------------- |
0 commit comments