Skip to content

Commit f28a966

Browse files
committed
Attempt to make plone.api importable to Sphinx
1 parent 5aceb91 commit f28a966

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/conf.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@
1515
# Attempt to make plone.api importable to Sphinx
1616
# sys.path.insert(0, os.path.abspath("."))
1717
# sys.path.insert(0, os.path.abspath(os.path.join("..", "..")))
18-
# sys.path.insert(0, os.path.abspath("../submodules/plone.api/src"))
19-
sys.path.insert(0, os.path.abspath("../submodules/plone.api/src/plone"))
20-
print("======\n" + str(sys.path) + "\n======\n")
18+
sys.path.insert(0, os.path.abspath("../submodules/plone.api/src"))
19+
# sys.path.insert(0, os.path.abspath("../submodules/plone.api/src/plone"))
20+
print("====== sys.path ======\n" + str(sys.path) + "\n======\n")
21+
print("====== os.listdir() ======\n" + str(os.listdir()) + "\n======\n")
22+
print("====== os.listdir(sys.path[0]) ======\n" + str(os.listdir(sys.path[0])) + "\n======\n")
2123

2224
# -- Project information -----------------------------------------------------
2325

0 commit comments

Comments
 (0)