Skip to content

Commit 6a521cf

Browse files
committed
fix RTD docs - attempt #10
1 parent 436df16 commit 6a521cf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
on_rtd = os.environ.get('READTHEDOCS') == 'True'
1111
if on_rtd:
1212
print(os.getcwd())
13-
sys.path.insert(0, os.path.abspath('..'))
13+
print(os.listdir(os.getcwd()))
14+
sys.path.insert(0, os.path.abspath('.'))
1415
else:
1516
sys.path.insert(0, os.path.abspath('../src'))
1617

0 commit comments

Comments
 (0)