Skip to content

Commit 631e9f8

Browse files
committed
Ensure make_md runs in doc/ folder
1 parent 9af0c20 commit 631e9f8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: doc/make_md.py

+3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ def format_heading(level, text):
2828
]
2929
return symbol + text + "\n\n"
3030

31+
# Ensure execution inside of doc/
32+
script_directory = os.path.dirname(os.path.abspath(__file__))
33+
os.chdir(script_directory)
3134

3235
header_files = glob.glob("../include/emp/**/*.hpp", recursive=True)
3336

0 commit comments

Comments
 (0)