|
15 | 15 |
|
16 | 16 | import os |
17 | 17 | import sys |
18 | | -sys.path.insert(0, os.path.abspath('../../ewstools/')) |
19 | 18 |
|
| 19 | +sys.path.insert(0, os.path.abspath("../../ewstools/")) |
20 | 20 |
|
21 | 21 |
|
22 | 22 | # -- Project information ----------------------------------------------------- |
23 | | -project = 'ewstools' |
24 | | -copyright = '2022, Thomas M Bury' |
25 | | -author = 'Thomas M Bury' |
| 23 | +project = "ewstools" |
| 24 | +copyright = "2022, Thomas M Bury" |
| 25 | +author = "Thomas M Bury" |
26 | 26 |
|
27 | 27 | # Semantic version number |
28 | | -version = '2.0.1' |
29 | | - |
30 | | - |
| 28 | +version = "2.1.1" |
31 | 29 |
|
32 | 30 | # -- General configuration --------------------------------------------------- |
33 | 31 |
|
|
38 | 36 | # Add any Sphinx extension module names here, as strings. They can be |
39 | 37 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
40 | 38 | # ones. |
41 | | -extensions = [ |
42 | | - 'sphinx.ext.autodoc', |
43 | | - 'sphinx.ext.napoleon' |
44 | | -] |
| 39 | +extensions = ["sphinx.ext.autodoc", "sphinx.ext.napoleon"] |
45 | 40 |
|
46 | 41 | # Add any paths that contain templates here, relative to this directory. |
47 | | -templates_path = ['_templates'] |
| 42 | +templates_path = ["_templates"] |
48 | 43 |
|
49 | 44 | # The suffix(es) of source filenames. |
50 | 45 | # You can specify multiple suffix as a list of string: |
51 | 46 | # |
52 | | -source_suffix = ['.rst', '.md'] |
| 47 | +source_suffix = [".rst", ".md"] |
53 | 48 | # source_suffix = {'.rst': 'restructuredtext'} |
54 | 49 |
|
55 | 50 |
|
56 | 51 | # The master toctree document. |
57 | | -master_doc = 'index' |
| 52 | +master_doc = "index" |
58 | 53 |
|
59 | 54 | # The language for content autogenerated by Sphinx. Refer to documentation |
60 | 55 | # for a list of supported languages. |
61 | 56 | # |
62 | 57 | # This is also used if you do content translation via gettext catalogs. |
63 | 58 | # Usually you set "language" from the command line for these cases. |
64 | | -language = 'en' |
| 59 | +language = "en" |
65 | 60 |
|
66 | 61 | # List of patterns, relative to source directory, that match files and |
67 | 62 | # directories to ignore when looking for source files. |
|
77 | 72 | # The theme to use for HTML and HTML Help pages. See the documentation for |
78 | 73 | # a list of builtin themes. |
79 | 74 | # |
80 | | -html_theme = 'sphinx_rtd_theme' |
| 75 | +html_theme = "sphinx_rtd_theme" |
81 | 76 |
|
82 | 77 |
|
83 | 78 | # Theme options are theme-specific and customize the look and feel of a theme |
|
105 | 100 | # -- Options for HTMLHelp output --------------------------------------------- |
106 | 101 |
|
107 | 102 | # Output file base name for HTML help builder. |
108 | | -htmlhelp_basename = 'ewstoolsdoc' |
| 103 | +htmlhelp_basename = "ewstoolsdoc" |
109 | 104 |
|
110 | 105 |
|
111 | 106 | # -- Options for LaTeX output ------------------------------------------------ |
|
114 | 109 | # The paper size ('letterpaper' or 'a4paper'). |
115 | 110 | # |
116 | 111 | # 'papersize': 'letterpaper', |
117 | | - |
118 | 112 | # The font size ('10pt', '11pt' or '12pt'). |
119 | 113 | # |
120 | 114 | # 'pointsize': '10pt', |
121 | | - |
122 | 115 | # Additional stuff for the LaTeX preamble. |
123 | 116 | # |
124 | 117 | # 'preamble': '', |
125 | | - |
126 | 118 | # Latex figure (float) alignment |
127 | 119 | # |
128 | 120 | # 'figure_align': 'htbp', |
|
132 | 124 | # (source start file, target name, title, |
133 | 125 | # author, documentclass [howto, manual, or own class]). |
134 | 126 | latex_documents = [ |
135 | | - (master_doc, 'ewstools.tex', 'ewstools Documentation', |
136 | | - 'Thomas M Bury', 'manual'), |
| 127 | + (master_doc, "ewstools.tex", "ewstools Documentation", "Thomas M Bury", "manual"), |
137 | 128 | ] |
138 | 129 |
|
139 | 130 |
|
140 | 131 | # -- Options for manual page output ------------------------------------------ |
141 | 132 |
|
142 | 133 | # One entry per manual page. List of tuples |
143 | 134 | # (source start file, name, description, authors, manual section). |
144 | | -man_pages = [ |
145 | | - (master_doc, 'ewstools', 'ewstools Documentation', |
146 | | - [author], 1) |
147 | | -] |
| 135 | +man_pages = [(master_doc, "ewstools", "ewstools Documentation", [author], 1)] |
148 | 136 |
|
149 | 137 |
|
150 | 138 | # -- Options for Texinfo output ---------------------------------------------- |
|
153 | 141 | # (source start file, target name, title, author, |
154 | 142 | # dir menu entry, description, category) |
155 | 143 | texinfo_documents = [ |
156 | | - (master_doc, 'ewstools', 'ewstools Documentation', |
157 | | - author, 'ewstools', 'One line description of project.', |
158 | | - 'Miscellaneous'), |
| 144 | + ( |
| 145 | + master_doc, |
| 146 | + "ewstools", |
| 147 | + "ewstools Documentation", |
| 148 | + author, |
| 149 | + "ewstools", |
| 150 | + "One line description of project.", |
| 151 | + "Miscellaneous", |
| 152 | + ), |
159 | 153 | ] |
160 | 154 |
|
161 | 155 |
|
|
174 | 168 | # epub_uid = '' |
175 | 169 |
|
176 | 170 | # A list of files that should not be packed into the epub file. |
177 | | -epub_exclude_files = ['search.html'] |
178 | | - |
179 | | - |
| 171 | +epub_exclude_files = ["search.html"] |
0 commit comments