Skip to content

Commit 3e305f8

Browse files
committed
DOC: fixing hyperlink in documentation (#533)
1 parent f79cc92 commit 3e305f8

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

doc/conf.py

+7-8
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# add these directories to sys.path here. If the directory is relative to the
2222
# documentation root, use os.path.abspath to make it absolute, like shown here.
2323
sys.path.insert(0, os.path.abspath('sphinxext'))
24-
from github_link import make_linkcode_resolve
24+
# from github_link import make_linkcode_resolve
2525
import sphinx_gallery
2626

2727
# -- General configuration ------------------------------------------------
@@ -37,8 +37,7 @@
3737
'sphinx.ext.autosummary',
3838
'sphinx.ext.doctest',
3939
'sphinx.ext.intersphinx',
40-
'sphinx.ext.linkcode',
41-
'sphinx.ext.viewcode',
40+
# 'sphinx.ext.linkcode',
4241
'numpydoc',
4342
'sphinx_issues',
4443
'sphinx_gallery.gen_gallery',
@@ -331,8 +330,8 @@ def setup(app):
331330
# If true, do not generate a @detailmenu in the "Top" node's menu.
332331
# texinfo_no_detailmenu = False
333332

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

Comments
 (0)