|
39 | 39 | import IPython
|
40 | 40 |
|
41 | 41 | extensions = [
|
42 |
| - 'sphinx.ext.autodoc', |
43 |
| - 'sphinx.ext.intersphinx', |
44 |
| - 'sphinx.ext.extlinks', |
45 |
| - 'sphinx.ext.napoleon', |
46 |
| - 'IPython.sphinxext.ipython_directive', |
47 |
| - 'IPython.sphinxext.ipython_console_highlighting' |
| 42 | + "sphinx.ext.autodoc", |
| 43 | + "sphinx.ext.intersphinx", |
| 44 | + "sphinx.ext.extlinks", |
| 45 | + "sphinx.ext.napoleon", |
| 46 | + "IPython.sphinxext.ipython_directive", |
| 47 | + "IPython.sphinxext.ipython_console_highlighting", |
48 | 48 | ]
|
49 | 49 |
|
50 | 50 | # Add any paths that contain templates here, relative to this directory.
|
51 |
| -templates_path = ['_templates'] |
| 51 | +templates_path = ["_templates"] |
52 | 52 |
|
53 | 53 | # The suffix(es) of source filenames.
|
54 | 54 | # You can specify multiple suffix as a list of string:
|
55 | 55 | #
|
56 | 56 | # source_suffix = ['.rst', '.md']
|
57 |
| -source_suffix = '.rst' |
| 57 | +source_suffix = ".rst" |
58 | 58 |
|
59 | 59 | # The master toctree document.
|
60 |
| -master_doc = 'index' |
| 60 | +master_doc = "index" |
61 | 61 |
|
62 | 62 | # General information about the project.
|
63 |
| -project = u'pandas-datareader' |
64 |
| -copyright = u'2018, The PyData Development Team' |
65 |
| -author = 'The PyData Development Team' |
| 63 | +project = u"pandas-datareader" |
| 64 | +copyright = u"2018, The PyData Development Team" |
| 65 | +author = "The PyData Development Team" |
66 | 66 |
|
67 | 67 | # The version info for the project you're documenting, acts as replacement for
|
68 | 68 | # |version| and |release|, also used in various other places throughout the
|
69 | 69 | # built documents.
|
70 | 70 | #
|
71 | 71 | # The short X.Y version.
|
72 |
| -version = pdr.__version__.split('+')[0] |
| 72 | +version = pdr.__version__.split("+")[0] |
73 | 73 | # The full version, including alpha/beta/rc tags.
|
74 | 74 | release = pdr.__version__
|
75 | 75 |
|
|
86 | 86 | exclude_patterns = []
|
87 | 87 |
|
88 | 88 | # The name of the Pygments (syntax highlighting) style to use.
|
89 |
| -pygments_style = 'sphinx' |
| 89 | +pygments_style = "sphinx" |
90 | 90 |
|
91 | 91 | # If true, `todo` and `todoList` produce output, else they produce nothing.
|
92 | 92 | todo_include_todos = True
|
|
108 | 108 | # Add any paths that contain custom static files (such as style sheets) here,
|
109 | 109 | # relative to this directory. They are copied after the builtin static files,
|
110 | 110 | # so a file named "default.css" will overwrite the builtin "default.css".
|
111 |
| -html_static_path = ['_static'] |
| 111 | +html_static_path = ["_static"] |
112 | 112 |
|
113 | 113 | # Custom sidebar templates, must be a dictionary that maps document names
|
114 | 114 | # to template names.
|
115 | 115 | #
|
116 | 116 | # This is required for the alabaster theme
|
117 | 117 | # refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars
|
118 | 118 | html_sidebars = {
|
119 |
| - '**': [ |
120 |
| - 'relations.html', # needs 'show_related': True theme option to display |
121 |
| - 'searchbox.html', |
| 119 | + "**": [ |
| 120 | + "relations.html", # needs 'show_related': True theme option to display |
| 121 | + "searchbox.html", |
122 | 122 | ]
|
123 | 123 | }
|
124 | 124 |
|
125 | 125 |
|
126 | 126 | # -- Options for HTMLHelp output ------------------------------------------
|
127 | 127 |
|
128 | 128 | # Output file base name for HTML help builder.
|
129 |
| -htmlhelp_basename = 'pandas-datareaderdoc' |
| 129 | +htmlhelp_basename = "pandas-datareaderdoc" |
130 | 130 |
|
131 | 131 |
|
132 | 132 | # -- Options for LaTeX output ---------------------------------------------
|
|
135 | 135 | # The paper size ('letterpaper' or 'a4paper').
|
136 | 136 | #
|
137 | 137 | # 'papersize': 'letterpaper',
|
138 |
| - |
139 | 138 | # The font size ('10pt', '11pt' or '12pt').
|
140 | 139 | #
|
141 | 140 | # 'pointsize': '10pt',
|
142 |
| - |
143 | 141 | # Additional stuff for the LaTeX preamble.
|
144 | 142 | #
|
145 | 143 | # 'preamble': '',
|
146 |
| - |
147 | 144 | # Latex figure (float) alignment
|
148 | 145 | #
|
149 | 146 | # 'figure_align': 'htbp',
|
|
153 | 150 | # (source start file, target name, title,
|
154 | 151 | # author, documentclass [howto, manual, or own class]).
|
155 | 152 | latex_documents = [
|
156 |
| - (master_doc, 'pandas-datareader.tex', 'pandas-datareader Documentation', |
157 |
| - 'pydata', 'manual'), |
| 153 | + ( |
| 154 | + master_doc, |
| 155 | + "pandas-datareader.tex", |
| 156 | + "pandas-datareader Documentation", |
| 157 | + "pydata", |
| 158 | + "manual", |
| 159 | + ) |
158 | 160 | ]
|
159 | 161 |
|
160 | 162 |
|
|
163 | 165 | # One entry per manual page. List of tuples
|
164 | 166 | # (source start file, name, description, authors, manual section).
|
165 | 167 | man_pages = [
|
166 |
| - (master_doc, 'pandas-datareader', 'pandas-datareader Documentation', |
167 |
| - [author], 1) |
| 168 | + (master_doc, "pandas-datareader", "pandas-datareader Documentation", [author], 1) |
168 | 169 | ]
|
169 | 170 |
|
170 | 171 |
|
|
174 | 175 | # (source start file, target name, title, author,
|
175 | 176 | # dir menu entry, description, category)
|
176 | 177 | texinfo_documents = [
|
177 |
| - (master_doc, 'pandas-datareader', 'pandas-datareader Documentation', |
178 |
| - author, 'pandas-datareader', 'One line description of project.', |
179 |
| - 'Miscellaneous'), |
| 178 | + ( |
| 179 | + master_doc, |
| 180 | + "pandas-datareader", |
| 181 | + "pandas-datareader Documentation", |
| 182 | + author, |
| 183 | + "pandas-datareader", |
| 184 | + "One line description of project.", |
| 185 | + "Miscellaneous", |
| 186 | + ) |
180 | 187 | ]
|
181 | 188 |
|
182 | 189 |
|
183 |
| - |
184 |
| - |
185 | 190 | # Example configuration for intersphinx: refer to the Python standard library.
|
186 |
| -intersphinx_mapping = {'http://docs.python.org/': None} |
| 191 | +intersphinx_mapping = {"http://docs.python.org/": None} |
187 | 192 |
|
188 | 193 |
|
189 |
| -extlinks = {'issue': ('https://github.com/pydata/pandas-datareader/issues/%s', |
190 |
| - 'GH'), |
191 |
| - 'wiki': ('https://github.com/pydata/pandas-datareader/wiki/%s', |
192 |
| - 'wiki ')} |
| 194 | +extlinks = { |
| 195 | + "issue": ("https://github.com/pydata/pandas-datareader/issues/%s", "GH"), |
| 196 | + "wiki": ("https://github.com/pydata/pandas-datareader/wiki/%s", "wiki "), |
| 197 | +} |
0 commit comments