Skip to content

Commit 8891fc0

Browse files
Fix docs build import path
1 parent 77c31d3 commit 8891fc0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222

2323
HERE = osp.abspath(osp.dirname(__file__))
2424
ROOT = osp.dirname(osp.dirname(HERE))
25+
sys.path.insert(0, ROOT)
2526

2627
from traitlets import __version__, version_info # noqa: E402
2728

2829
# If extensions (or modules to document with autodoc) are in another directory,
2930
# add these directories to sys.path here. If the directory is relative to the
3031
# documentation root, use os.path.abspath to make it absolute, like shown here.
31-
# sys.path.insert(0, os.path.abspath('.'))
3232

3333
# -- General configuration ------------------------------------------------
3434

0 commit comments

Comments
 (0)