Skip to content

Commit 4344e0e

Browse files
committed
Attempt to make plone.api importable to Sphinx
1 parent 36c78cb commit 4344e0e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/conf.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@
1010
# add these directories to sys.path here. If the directory is relative to the
1111
# documentation root, use os.path.abspath to make it absolute, like shown here.
1212
#
13-
# import os
14-
# import sys
15-
# sys.path.insert(0, os.path.abspath("."))
13+
import os
14+
import sys
15+
# Attempt to make plone.api importable to Sphinx
16+
sys.path.insert(0, os.path.abspath(os.path.join("..", "..")))
1617

1718

1819
# -- Project information -----------------------------------------------------

0 commit comments

Comments
 (0)