|
21 | 21 | # add these directories to sys.path here. If the directory is relative to the
|
22 | 22 | # documentation root, use os.path.abspath to make it absolute, like shown here.
|
23 | 23 | sys.path.insert(0, os.path.abspath('sphinxext'))
|
24 |
| -from github_link import make_linkcode_resolve |
| 24 | +# from github_link import make_linkcode_resolve |
25 | 25 | import sphinx_gallery
|
26 | 26 |
|
27 | 27 | # -- General configuration ------------------------------------------------
|
|
37 | 37 | 'sphinx.ext.autosummary',
|
38 | 38 | 'sphinx.ext.doctest',
|
39 | 39 | 'sphinx.ext.intersphinx',
|
40 |
| - 'sphinx.ext.linkcode', |
41 |
| - 'sphinx.ext.viewcode', |
| 40 | + # 'sphinx.ext.linkcode', |
42 | 41 | 'numpydoc',
|
43 | 42 | 'sphinx_issues',
|
44 | 43 | 'sphinx_gallery.gen_gallery',
|
@@ -331,8 +330,8 @@ def setup(app):
|
331 | 330 | # If true, do not generate a @detailmenu in the "Top" node's menu.
|
332 | 331 | # texinfo_no_detailmenu = False
|
333 | 332 |
|
334 |
| -# The following is used by sphinx.ext.linkcode to provide links to github |
335 |
| -linkcode_resolve = make_linkcode_resolve('imblearn', |
336 |
| - u'https://github.com/scikit-learn-contrib/' |
337 |
| - 'imbalanced-learn/blob/{revision}/' |
338 |
| - '{package}/{path}#L{lineno}') |
| 333 | +# # The following is used by sphinx.ext.linkcode to provide links to github |
| 334 | +# linkcode_resolve = make_linkcode_resolve('imblearn', |
| 335 | +# u'https://github.com/scikit-learn-contrib/' |
| 336 | +# 'imbalanced-learn/blob/{revision}/' |
| 337 | +# '{package}/{path}#L{lineno}') |
0 commit comments