|
18 | 18 | # If extensions (or modules to document with autodoc) are in another directory, |
19 | 19 | # add these directories to sys.path here. If the directory is relative to the |
20 | 20 | # documentation root, use os.path.abspath to make it absolute, like shown here. |
21 | | -#sys.path.insert(0, os.path.abspath('.')) |
22 | | -sys.path.insert(0, os.path.join(os.path.abspath('..'), 'trepan')) |
| 21 | +# sys.path.insert(0, os.path.abspath('.')) |
| 22 | +sys.path.insert(0, os.path.join(os.path.abspath(".."), "trepan")) |
23 | 23 |
|
24 | 24 | # -- General configuration ------------------------------------------------ |
25 | 25 |
|
26 | 26 | # If your documentation needs a minimal Sphinx version, state it here. |
27 | | -#needs_sphinx = '1.0' |
| 27 | +# |
| 28 | +# needs_sphinx = '1.0' |
28 | 29 |
|
29 | 30 | # Add any Sphinx extension module names here, as strings. They can be |
30 | 31 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
31 | 32 | # ones. |
32 | 33 | extensions = [ |
33 | | - 'sphinx.ext.autodoc', |
34 | | - 'sphinx.ext.githubpages', |
| 34 | + "sphinx.ext.autodoc", |
| 35 | + "sphinx.ext.autosectionlabel", |
| 36 | + "sphinx.ext.githubpages", |
35 | 37 | # 'numpydoc', |
36 | 38 | ] |
37 | 39 |
|
38 | 40 | # Add any paths that contain templates here, relative to this directory. |
39 | | -templates_path = ['_templates'] |
| 41 | +templates_path = ["_templates"] |
40 | 42 |
|
41 | 43 | # The suffix(es) of source filenames. |
42 | 44 | # You can specify multiple suffix as a list of string: |
43 | 45 | # |
44 | 46 | # source_suffix = ['.rst', '.md'] |
45 | | -source_suffix = ['.rst', 'md'] |
| 47 | +source_suffix = [".rst", "md"] |
46 | 48 |
|
47 | 49 | # The encoding of source files. |
48 | | -#source_encoding = 'utf-8-sig' |
| 50 | +# source_encoding = 'utf-8-sig' |
49 | 51 |
|
50 | 52 | # The master toctree document. |
51 | | -master_doc = 'index' |
| 53 | +master_doc = "index" |
52 | 54 |
|
53 | 55 | # General information about the project. |
54 | 56 | project = u'trepan2' |
55 | | -copyright = '2015, 2017 Rocky Bernstein' |
| 57 | +copyright = '2015, 2017, 2021 Rocky Bernstein' |
56 | 58 | author = u'Rocky Bernstein' |
57 | 59 |
|
58 | 60 | # The version info for the project you're documenting, acts as replacement for |
|
62 | 64 | # The short X.Y version. |
63 | 65 | version = '1.0' |
64 | 66 | # The full version, including alpha/beta/rc tags. |
65 | | -release = '1.0' |
| 67 | +release = "1.0" |
66 | 68 |
|
67 | 69 | # The language for content autogenerated by Sphinx. Refer to documentation |
68 | 70 | # for a list of supported languages. |
|
73 | 75 |
|
74 | 76 | # There are two options for replacing |today|: either, you set today to some |
75 | 77 | # non-false value, then it is used: |
76 | | -#today = '' |
| 78 | +# today = '' |
77 | 79 | # Else, today_fmt is used as the format for a strftime call. |
78 | | -#today_fmt = '%B %d, %Y' |
| 80 | +# today_fmt = '%B %d, %Y' |
79 | 81 |
|
80 | 82 | # List of patterns, relative to source directory, that match files and |
81 | 83 | # directories to ignore when looking for source files. |
82 | | -exclude_patterns = ['_build'] |
| 84 | +exclude_patterns = ["_build"] |
83 | 85 |
|
84 | 86 | # The reST default role (used for this markup: `text`) to use for all |
85 | 87 | # documents. |
86 | | -#default_role = None |
| 88 | +# default_role = None |
87 | 89 |
|
88 | 90 | # If true, '()' will be appended to :func: etc. cross-reference text. |
89 | | -#add_function_parentheses = True |
| 91 | +# add_function_parentheses = True |
90 | 92 |
|
91 | 93 | # If true, the current module name will be prepended to all description |
92 | 94 | # unit titles (such as .. function::). |
93 | | -#add_module_names = True |
| 95 | +# add_module_names = True |
94 | 96 |
|
95 | 97 | # If true, sectionauthor and moduleauthor directives will be shown in the |
96 | 98 | # output. They are ignored by default. |
97 | | -#show_authors = False |
| 99 | +# show_authors = False |
98 | 100 |
|
99 | 101 | # The name of the Pygments (syntax highlighting) style to use. |
100 | | -pygments_style = 'sphinx' |
| 102 | +pygments_style = "sphinx" |
101 | 103 |
|
102 | 104 | # A list of ignored prefixes for module index sorting. |
103 | | -#modindex_common_prefix = [] |
| 105 | +# modindex_common_prefix = [] |
104 | 106 |
|
105 | 107 | # If true, keep warnings as "system message" paragraphs in the built documents. |
106 | | -#keep_warnings = False |
| 108 | +# keep_warnings = False |
107 | 109 |
|
108 | 110 | # If true, `todo` and `todoList` produce output, else they produce nothing. |
109 | 111 | todo_include_todos = False |
|
113 | 115 |
|
114 | 116 | # The theme to use for HTML and HTML Help pages. See the documentation for |
115 | 117 | # a list of builtin themes. |
116 | | -html_theme = 'sphinx_rtd_theme' |
| 118 | +html_theme = "alabaster" |
117 | 119 |
|
118 | 120 | # Theme options are theme-specific and customize the look and feel of a theme |
119 | 121 | # further. For a list of options available for each theme, see the |
120 | 122 | # documentation. |
121 | | -#html_theme_options = {} |
| 123 | +html_theme_options = {"show_relbar_bottom": "true"} |
122 | 124 |
|
123 | 125 | # Add any paths that contain custom themes here, relative to this directory. |
124 | | -#html_theme_path = [] |
| 126 | +# html_theme_path = [] |
125 | 127 |
|
126 | 128 | # The name for this set of Sphinx documents. If None, it defaults to |
127 | 129 | # "<project> v<release> documentation". |
128 | | -#html_title = None |
| 130 | +# html_title = None |
129 | 131 |
|
130 | 132 | # A shorter title for the navigation bar. Default is the same as html_title. |
131 | | -#html_short_title = None |
| 133 | +# html_short_title = None |
132 | 134 |
|
133 | 135 | # The name of an image file (relative to this directory) to place at the top |
134 | 136 | # of the sidebar. |
135 | | -#html_logo = None |
| 137 | +# html_logo = None |
136 | 138 |
|
137 | 139 | # The name of an image file (within the static path) to use as favicon of the |
138 | 140 | # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 |
139 | 141 | # pixels large. |
140 | | -#html_favicon = None |
| 142 | +# html_favicon = None |
141 | 143 |
|
142 | 144 | # Add any paths that contain custom static files (such as style sheets) here, |
143 | 145 | # relative to this directory. They are copied after the builtin static files, |
144 | 146 | # so a file named "default.css" will overwrite the builtin "default.css". |
145 | | -html_static_path = ['_static'] |
| 147 | +html_static_path = ["_static"] |
146 | 148 |
|
147 | 149 | # Add any extra paths that contain custom files (such as robots.txt or |
148 | 150 | # .htaccess) here, relative to this directory. These files are copied |
149 | 151 | # directly to the root of the documentation. |
150 | | -#html_extra_path = [] |
| 152 | +# html_extra_path = [] |
151 | 153 |
|
152 | 154 | # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, |
153 | 155 | # using the given strftime format. |
154 | | -#html_last_updated_fmt = '%b %d, %Y' |
| 156 | +# html_last_updated_fmt = '%b %d, %Y' |
155 | 157 |
|
156 | 158 | # If true, SmartyPants will be used to convert quotes and dashes to |
157 | 159 | # typographically correct entities. |
158 | | -#html_use_smartypants = True |
| 160 | +# html_use_smartypants = True |
159 | 161 |
|
160 | 162 | # Custom sidebar templates, maps document names to template names. |
161 | | -#html_sidebars = {} |
| 163 | +# html_sidebars = {} |
162 | 164 |
|
163 | 165 | # Additional templates that should be rendered to pages, maps page names to |
164 | 166 | # template names. |
165 | | -#html_additional_pages = {} |
| 167 | +# html_additional_pages = {} |
166 | 168 |
|
167 | 169 | # If false, no module index is generated. |
168 | | -#html_domain_indices = True |
| 170 | +# html_domain_indices = True |
169 | 171 |
|
170 | 172 | # If false, no index is generated. |
171 | | -#html_use_index = True |
| 173 | +# html_use_index = True |
172 | 174 |
|
173 | 175 | # If true, the index is split into individual pages for each letter. |
174 | | -#html_split_index = False |
| 176 | +# html_split_index = False |
175 | 177 |
|
176 | 178 | # If true, links to the reST sources are added to the pages. |
177 | | -#html_show_sourcelink = True |
| 179 | +# html_show_sourcelink = True |
178 | 180 |
|
179 | 181 | # If true, "Created using Sphinx" is shown in the HTML footer. Default is True. |
180 | | -#html_show_sphinx = True |
| 182 | +# html_show_sphinx = True |
181 | 183 |
|
182 | 184 | # If true, "(C) Copyright ..." is shown in the HTML footer. Default is True. |
183 | | -#html_show_copyright = True |
| 185 | +# html_show_copyright = True |
184 | 186 |
|
185 | 187 | # If true, an OpenSearch description file will be output, and all pages will |
186 | 188 | # contain a <link> tag referring to it. The value of this option must be the |
187 | 189 | # base URL from which the finished HTML is served. |
188 | | -#html_use_opensearch = '' |
| 190 | +# html_use_opensearch = '' |
189 | 191 |
|
190 | 192 | # This is the file name suffix for HTML files (e.g. ".xhtml"). |
191 | | -#html_file_suffix = None |
| 193 | +# html_file_suffix = None |
192 | 194 |
|
193 | 195 | # Language to be used for generating the HTML full-text search index. |
194 | 196 | # Sphinx supports the following languages: |
195 | 197 | # 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja' |
196 | 198 | # 'nl', 'no', 'pt', 'ro', 'ru', 'sv', 'tr' |
197 | | -#html_search_language = 'en' |
| 199 | +# html_search_language = 'en' |
198 | 200 |
|
199 | 201 | # A dictionary with options for the search language support, empty by default. |
200 | 202 | # Now only 'ja' uses this config value |
201 | | -#html_search_options = {'type': 'default'} |
| 203 | +# html_search_options = {'type': 'default'} |
202 | 204 |
|
203 | 205 | # The name of a javascript file (relative to the configuration directory) that |
204 | 206 | # implements a search results scorer. If empty, the default will be used. |
205 | | -#html_search_scorer = 'scorer.js' |
| 207 | +# html_search_scorer = 'scorer.js' |
206 | 208 |
|
207 | 209 | # Output file base name for HTML help builder. |
208 | | -htmlhelp_basename = 'trepandoc' |
| 210 | +htmlhelp_basename = "trepandoc" |
209 | 211 |
|
210 | 212 | # -- Options for LaTeX output --------------------------------------------- |
211 | 213 |
|
212 | 214 | latex_elements = { |
213 | | -# The paper size ('letterpaper' or 'a4paper'). |
214 | | -#'papersize': 'letterpaper', |
215 | | - |
216 | | -# The font size ('10pt', '11pt' or '12pt'). |
217 | | -#'pointsize': '10pt', |
218 | | - |
219 | | -# Additional stuff for the LaTeX preamble. |
220 | | -#'preamble': '', |
221 | | - |
222 | | -# Latex figure (float) alignment |
223 | | -#'figure_align': 'htbp', |
| 215 | + # The paper size ('letterpaper' or 'a4paper'). |
| 216 | + #'papersize': 'letterpaper', |
| 217 | + # The font size ('10pt', '11pt' or '12pt'). |
| 218 | + #'pointsize': '10pt', |
| 219 | + # Additional stuff for the LaTeX preamble. |
| 220 | + #'preamble': '', |
| 221 | + # Latex figure (float) alignment |
| 222 | + #'figure_align': 'htbp', |
224 | 223 | } |
225 | 224 |
|
226 | 225 | # Grouping the document tree into LaTeX files. List of tuples |
227 | 226 | # (source start file, target name, title, |
228 | 227 | # author, documentclass [howto, manual, or own class]). |
229 | 228 | latex_documents = [ |
230 | | - (master_doc, 'trepan.tex', u'trepan Documentation', |
231 | | - u'Rocky Bernstein', 'manual'), |
| 229 | + (master_doc, "trepan.tex", u"trepan Documentation", u"Rocky Bernstein", "manual"), |
232 | 230 | ] |
233 | 231 |
|
234 | 232 | # The name of an image file (relative to this directory) to place at the top of |
235 | 233 | # the title page. |
236 | | -#latex_logo = None |
| 234 | +# latex_logo = None |
237 | 235 |
|
238 | 236 | # For "manual" documents, if this is true, then toplevel headings are parts, |
239 | 237 | # not chapters. |
240 | | -#latex_use_parts = False |
| 238 | +# latex_use_parts = False |
241 | 239 |
|
242 | 240 | # If true, show page references after internal links. |
243 | | -#latex_show_pagerefs = False |
| 241 | +# latex_show_pagerefs = False |
244 | 242 |
|
245 | 243 | # If true, show URL addresses after external links. |
246 | | -#latex_show_urls = False |
| 244 | +# latex_show_urls = False |
247 | 245 |
|
248 | 246 | # Documents to append as an appendix to all manuals. |
249 | | -#latex_appendices = [] |
| 247 | +# latex_appendices = [] |
250 | 248 |
|
251 | 249 | # If false, no module index is generated. |
252 | | -#latex_domain_indices = True |
| 250 | +# latex_domain_indices = True |
253 | 251 |
|
254 | 252 |
|
255 | 253 | # -- Options for manual page output --------------------------------------- |
256 | 254 |
|
257 | 255 | # One entry per manual page. List of tuples |
258 | 256 | # (source start file, name, description, authors, manual section). |
259 | | -man_pages = [ |
260 | | - (master_doc, 'trepan', u'trepan Documentation', |
261 | | - [author], 1) |
262 | | -] |
| 257 | +man_pages = [(master_doc, "trepan", u"trepan Documentation", [author], 1)] |
263 | 258 |
|
264 | 259 | # If true, show URL addresses after external links. |
265 | | -#man_show_urls = False |
| 260 | +# man_show_urls = False |
266 | 261 |
|
267 | 262 |
|
268 | 263 | # -- Options for Texinfo output ------------------------------------------- |
|
277 | 272 | ] |
278 | 273 |
|
279 | 274 | # Documents to append as an appendix to all manuals. |
280 | | -#texinfo_appendices = [] |
| 275 | +# texinfo_appendices = [] |
281 | 276 |
|
282 | 277 | # If false, no module index is generated. |
283 | | -#texinfo_domain_indices = True |
| 278 | +# texinfo_domain_indices = True |
284 | 279 |
|
285 | 280 | # How to display URL addresses: 'footnote', 'no', or 'inline'. |
286 | | -#texinfo_show_urls = 'footnote' |
| 281 | +# texinfo_show_urls = 'footnote' |
287 | 282 |
|
288 | 283 | # If true, do not generate a @detailmenu in the "Top" node's menu. |
289 | | -#texinfo_no_detailmenu = False |
| 284 | +# texinfo_no_detailmenu = False |
0 commit comments