Skip to content

Commit 4366f34

Browse files
committed
Update makefile commands
1 parent dad4372 commit 4366f34

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/source/conf.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,9 @@
1313
import os
1414
import sys
1515

16-
PACKAGE_DIR = "../../dbldatagen"
16+
PACKAGE_DIR = "../.."
1717

18-
sys.path.insert(0, os.path.abspath(f"{PACKAGE_DIR}"))
19-
sys.path.insert(0, os.path.abspath(f"{PACKAGE_DIR}/constraints"))
20-
sys.path.insert(0, os.path.abspath(f"{PACKAGE_DIR}/datasets"))
21-
sys.path.insert(0, os.path.abspath(f"{PACKAGE_DIR}/distributions"))
18+
sys.path.insert(0, os.path.abspath(PACKAGE_DIR))
2219

2320
from dbldatagen import *
2421
from dbldatagen.distributions import *

makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,7 @@ build:
2626
hatch build
2727

2828
docs:
29-
cd docs && make docs
29+
cd docs && make docs
30+
31+
docs-serve:
32+
cd docs && make docs && open build/html/index.html

0 commit comments

Comments
 (0)