chore(builder): update the path of directory.json

This commit is contained in:
Haoyu Xu
2023-01-02 07:42:08 -05:00
parent 84de053feb
commit 6de0fc1ffa
3 changed files with 5 additions and 1 deletions

View File

@@ -270,7 +270,8 @@ class Builder:
)
# generate a directory.json for index page
save_path = pathlib.Path.cwd().joinpath(target_path, "directory.json")
save_path = pathlib.Path.cwd().joinpath(
self.config["index"]["src_folder"], "directory.json")
directory_json = []
for key, value in self.config["operators"].items():
directory_json.append(dict(