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