|
15 | 15 | import os |
16 | 16 | import sys |
17 | 17 | import sphinx_rtd_theme |
18 | | -from sklearn.externals.six import u |
19 | 18 |
|
20 | 19 | # If extensions (or modules to document with autodoc) are in another directory, |
21 | 20 | # add these directories to sys.path here. If the directory is relative to the |
|
76 | 75 | master_doc = 'index' |
77 | 76 |
|
78 | 77 | # General information about the project. |
79 | | -project = u('imbalanced-learn') |
80 | | -copyright = u('2016 - 2017, G. Lemaitre, F. Nogueira, D. Oliveira, C. Aridas') |
| 78 | +project = 'imbalanced-learn' |
| 79 | +copyright = '2016 - 2017, G. Lemaitre, F. Nogueira, D. Oliveira, C. Aridas' |
81 | 80 |
|
82 | 81 | # The version info for the project you're documenting, acts as replacement for |
83 | 82 | # |version| and |release|, also used in various other places throughout the |
|
231 | 230 | # (source start file, target name, title, |
232 | 231 | # author, documentclass [howto, manual, or own class]). |
233 | 232 | latex_documents = [ |
234 | | - ('index', 'imbalanced-learn.tex', u('imbalanced-learn Documentation'), |
235 | | - u('G. Lemaitre, F. Nogueira, D. Oliveira, C. Aridas'), 'manual'), |
| 233 | + ('index', 'imbalanced-learn.tex', 'imbalanced-learn Documentation', |
| 234 | + 'G. Lemaitre, F. Nogueira, D. Oliveira, C. Aridas', 'manual'), |
236 | 235 | ] |
237 | 236 |
|
238 | 237 | # The name of an image file (relative to this directory) to place at the top of |
|
278 | 277 |
|
279 | 278 | # One entry per manual page. List of tuples |
280 | 279 | # (source start file, name, description, authors, manual section). |
281 | | -man_pages = [('index', 'imbalanced-learn', u'imbalanced-learn Documentation', |
282 | | - [u'G. Lemaitre, F. Nogueira, D. Oliveira, C. Aridas'], 1)] |
| 280 | +man_pages = [('index', 'imbalanced-learn', 'imbalanced-learn Documentation', |
| 281 | + ['G. Lemaitre, F. Nogueira, D. Oliveira, C. Aridas'], 1)] |
283 | 282 |
|
284 | 283 | # If true, show URL addresses after external links. |
285 | 284 | # man_show_urls = False |
|
290 | 289 | # (source start file, target name, title, author, |
291 | 290 | # dir menu entry, description, category) |
292 | 291 | texinfo_documents = [ |
293 | | - ('index', 'imbalanced-learn', u'imbalanced-learn Documentation', |
294 | | - u'G. Lemaitre, F. Nogueira, D. Oliveira, C. Aridas', 'imbalanced-learn', |
| 292 | + ('index', 'imbalanced-learn', 'imbalanced-learn Documentation', |
| 293 | + 'G. Lemaitre, F. Nogueira, D. Oliveira, C. Aridas', 'imbalanced-learn', |
295 | 294 | 'Toolbox for imbalanced dataset in machine learning.', 'Miscellaneous'), |
296 | 295 | ] |
297 | 296 |
|
@@ -332,6 +331,6 @@ def setup(app): |
332 | 331 |
|
333 | 332 | # The following is used by sphinx.ext.linkcode to provide links to github |
334 | 333 | linkcode_resolve = make_linkcode_resolve('imblearn', |
335 | | - u'https://github.com/scikit-learn-contrib/' |
| 334 | + 'https://github.com/scikit-learn-contrib/' |
336 | 335 | 'imbalanced-learn/blob/{revision}/' |
337 | 336 | '{package}/{path}#L{lineno}') |
0 commit comments