Skip to content

Commit

Permalink
Ensure make_md runs in doc/ folder
Browse files Browse the repository at this point in the history
  • Loading branch information
mmore500 committed Dec 7, 2023
1 parent 9af0c20 commit 631e9f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/make_md.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ def format_heading(level, text):
]
return symbol + text + "\n\n"

# Ensure execution inside of doc/
script_directory = os.path.dirname(os.path.abspath(__file__))
os.chdir(script_directory)

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

Expand Down

0 comments on commit 631e9f8

Please sign in to comment.