Skip to content

Commit d82024e

Browse files
committed
Add parent directory as abspath, so that pymob modules can be discovered
1 parent 6b84413 commit d82024e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/source/conf.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
# For the full list of built-in configuration values, see the documentation:
44
# https://www.sphinx-doc.org/en/master/usage/configuration.html
55

6+
import os
7+
import sys
8+
sys.path.insert(0, os.path.abspath('..'))
9+
610
# -- Project information -----------------------------------------------------
711
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
812

0 commit comments

Comments
 (0)