Skip to content

Commit 3deb0eb

Browse files
committed
Updated conf.py with correct path for doc build
1 parent d5d4297 commit 3deb0eb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

docs/source/conf.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44
# https://www.sphinx-doc.org/en/master/usage/configuration.html
55

66
import os
7-
import sys
8-
sys.path.insert(0,os.path.abspath('../SignalForge'))
9-
sys.path.insert(0, os.path.abspath('../..'))
10-
init_path = os.path.join('SignalForge', '__init__.py')
7+
init_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..', 'SignalForge', '__init__.py'))
118
with open(init_path, 'r', encoding='utf-8') as file:
129
for line in file:
1310
line = line.strip()

0 commit comments

Comments
 (0)