|
12 | 12 | # All configuration values have a default; values that are commented out |
13 | 13 | # serve to show the default. |
14 | 14 |
|
15 | | -import sys, os |
| 15 | +import sys |
| 16 | +import os |
16 | 17 |
|
17 | 18 | # If extensions (or modules to document with autodoc) are in another directory, |
18 | 19 | # add these directories to sys.path here. If the directory is relative to the |
19 | 20 | # documentation root, use os.path.abspath to make it absolute, like shown here. |
20 | 21 | sys.path.insert(0, os.path.abspath('..')) |
21 | 22 | import geoip2 |
22 | 23 |
|
23 | | -# -- General configuration ----------------------------------------------------- |
| 24 | +# -- General configuration ----------------------------------------------- |
24 | 25 |
|
25 | 26 | # If your documentation needs a minimal Sphinx version, state it here. |
26 | 27 | #needs_sphinx = '1.0' |
27 | 28 |
|
28 | 29 | # Add any Sphinx extension module names here, as strings. They can be extensions |
29 | 30 | # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
30 | | -extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.coverage'] |
| 31 | +extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', |
| 32 | + 'sphinx.ext.intersphinx', 'sphinx.ext.coverage'] |
31 | 33 |
|
32 | 34 | # Add any paths that contain templates here, relative to this directory. |
33 | 35 | templates_path = ['_templates'] |
|
43 | 45 |
|
44 | 46 | # General information about the project. |
45 | 47 | project = 'geoip2' |
46 | | -copyright = '2014, MaxMind, Inc.' |
| 48 | +copyright = '2013-2016, MaxMind, Inc.' |
47 | 49 |
|
48 | 50 | # The version info for the project you're documenting, acts as replacement for |
49 | 51 | # |version| and |release|, also used in various other places throughout the |
|
89 | 91 | #modindex_common_prefix = [] |
90 | 92 |
|
91 | 93 |
|
92 | | -# -- Options for HTML output --------------------------------------------------- |
| 94 | +# -- Options for HTML output --------------------------------------------- |
93 | 95 |
|
94 | 96 | # The theme to use for HTML and HTML Help pages. See the documentation for |
95 | 97 | # a list of builtin themes. |
|
169 | 171 | htmlhelp_basename = 'geoip2doc' |
170 | 172 |
|
171 | 173 |
|
172 | | -# -- Options for LaTeX output -------------------------------------------------- |
| 174 | +# -- Options for LaTeX output -------------------------------------------- |
173 | 175 |
|
174 | 176 | latex_elements = { |
175 | | -# The paper size ('letterpaper' or 'a4paper'). |
176 | | -#'papersize': 'letterpaper', |
| 177 | + # The paper size ('letterpaper' or 'a4paper'). |
| 178 | + #'papersize': 'letterpaper', |
177 | 179 |
|
178 | | -# The font size ('10pt', '11pt' or '12pt'). |
179 | | -#'pointsize': '10pt', |
| 180 | + # The font size ('10pt', '11pt' or '12pt'). |
| 181 | + #'pointsize': '10pt', |
180 | 182 |
|
181 | | -# Additional stuff for the LaTeX preamble. |
182 | | -#'preamble': '', |
| 183 | + # Additional stuff for the LaTeX preamble. |
| 184 | + #'preamble': '', |
183 | 185 | } |
184 | 186 |
|
185 | 187 | # Grouping the document tree into LaTeX files. List of tuples |
186 | 188 | # (source start file, target name, title, author, documentclass [howto/manual]). |
187 | 189 | latex_documents = [ |
188 | | - ('index', 'geoip2.tex', 'geoip2 Documentation', |
189 | | - 'Gregory Oschwald', 'manual'), |
| 190 | + ('index', 'geoip2.tex', 'geoip2 Documentation', |
| 191 | + 'Gregory Oschwald', 'manual'), |
190 | 192 | ] |
191 | 193 |
|
192 | 194 | # The name of an image file (relative to this directory) to place at the top of |
|
210 | 212 | #latex_domain_indices = True |
211 | 213 |
|
212 | 214 |
|
213 | | -# -- Options for manual page output -------------------------------------------- |
| 215 | +# -- Options for manual page output -------------------------------------- |
214 | 216 |
|
215 | 217 | # One entry per manual page. List of tuples |
216 | 218 | # (source start file, name, description, authors, manual section). |
|
223 | 225 | #man_show_urls = False |
224 | 226 |
|
225 | 227 |
|
226 | | -# -- Options for Texinfo output ------------------------------------------------ |
| 228 | +# -- Options for Texinfo output ------------------------------------------ |
227 | 229 |
|
228 | 230 | # Grouping the document tree into Texinfo files. List of tuples |
229 | 231 | # (source start file, target name, title, author, |
230 | 232 | # dir menu entry, description, category) |
231 | 233 | texinfo_documents = [ |
232 | | - ('index', 'geoip2', 'geoip2 Documentation', |
233 | | - 'Gregory Oschwald', 'geoip2', 'One line description of project.', |
234 | | - 'Miscellaneous'), |
| 234 | + ('index', 'geoip2', 'geoip2 Documentation', |
| 235 | + 'Gregory Oschwald', 'geoip2', 'One line description of project.', |
| 236 | + 'Miscellaneous'), |
235 | 237 | ] |
236 | 238 |
|
237 | 239 | # Documents to append as an appendix to all manuals. |
|
0 commit comments