diff --git a/doc/conf.py b/doc/conf.py index 88708c57d..78cb87537 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -21,7 +21,7 @@ # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.insert(0, os.path.abspath('sphinxext')) -from github_link import make_linkcode_resolve +# from github_link import make_linkcode_resolve import sphinx_gallery # -- General configuration ------------------------------------------------ @@ -37,8 +37,7 @@ 'sphinx.ext.autosummary', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', - 'sphinx.ext.linkcode', - 'sphinx.ext.viewcode', + # 'sphinx.ext.linkcode', 'numpydoc', 'sphinx_issues', 'sphinx_gallery.gen_gallery', @@ -331,8 +330,8 @@ def setup(app): # If true, do not generate a @detailmenu in the "Top" node's menu. # texinfo_no_detailmenu = False -# The following is used by sphinx.ext.linkcode to provide links to github -linkcode_resolve = make_linkcode_resolve('imblearn', - u'https://github.com/scikit-learn-contrib/' - 'imbalanced-learn/blob/{revision}/' - '{package}/{path}#L{lineno}') +# # The following is used by sphinx.ext.linkcode to provide links to github +# linkcode_resolve = make_linkcode_resolve('imblearn', +# u'https://github.com/scikit-learn-contrib/' +# 'imbalanced-learn/blob/{revision}/' +# '{package}/{path}#L{lineno}')