From c6f52e65c412934e949c5a7cf4af8dbf98995cb7 Mon Sep 17 00:00:00 2001 From: TheManchineel <37479927+TheManchineel@users.noreply.github.com> Date: Thu, 12 Dec 2024 12:05:15 +0100 Subject: [PATCH] fix(build_docs): change index.html file mode --- build_docs_v2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_docs_v2.py b/build_docs_v2.py index bac33f5..6086a56 100644 --- a/build_docs_v2.py +++ b/build_docs_v2.py @@ -34,7 +34,7 @@ def build_docs_and_index(): ] ).wait() - with open("/workspace/index.html", "w+") as index_file: + with open("/workspace/index.html", "r+") as index_file: original_html = index_file.read() index_file.write(original_html.replace("{{{PLACEHOLDER}}}", index_entries.getvalue()))