Skip to content

Commit

Permalink
Fixed recursive path
Browse files Browse the repository at this point in the history
  • Loading branch information
catttam committed Jul 15, 2024
1 parent beb0aa9 commit 6a7bbbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion create_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def generate_html(out_file, dir_path, out_url=''):
if os.path.isfile(file_path) or os.path.isdir(file_path):
if os.path.isdir(file_path):
relative_url=file_name+".html"
generate_html(OUT_PATH+relative_url, file_path, file_name+"/")
generate_html(OUT_PATH+relative_url, file_path, out_url+file_name+"/")
file_url = relative_url
else:
file_url = out_url+file_name
Expand Down

0 comments on commit 6a7bbbb

Please sign in to comment.