diff --git a/docs/conf.py b/docs/conf.py index 2fa2541717..0c24edb426 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -22,7 +22,8 @@ __copyright__ as _copyright, ) -sys.path.append(os.path.abspath('sphinxext')) +sys.path.append(os.path.abspath( + os.path.join(os.path.dirname(__file__), 'sphinxext'))) from github_link import make_linkcode_resolve sys.path.insert(0, os.path.abspath('../wrapper'))