From 516d7bd4fcfd2aea1b355f6873f45271ad48cf71 Mon Sep 17 00:00:00 2001 From: DrEntropy Date: Sun, 8 Sep 2024 02:09:53 -0700 Subject: [PATCH] change rename to replace in pre-render.py (#843) --- docs/pre_render.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pre_render.py b/docs/pre_render.py index b7b9223fe..531b8c288 100644 --- a/docs/pre_render.py +++ b/docs/pre_render.py @@ -3,7 +3,7 @@ # Copy CHANGELOG file to 'docs' and change its extension to '.qmd' shutil.copyfile("../CHANGELOG.md", "CHANGELOG.md") -os.rename("CHANGELOG.md", "changelog.qmd") +os.replace("CHANGELOG.md", "changelog.qmd") # Remove TOC from it lines = """---