diff --git a/doc-version b/doc-version index b6be1e079..345c699b6 100644 --- a/doc-version +++ b/doc-version @@ -1 +1 @@ -0.12.141 \ No newline at end of file +0.12.142 \ No newline at end of file diff --git a/docs/changelog.md b/docs/changelog.md index 9bf9984d5..54d43261e 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,10 +1,10 @@ --- title: 更新日志 -icon: clock -order: 8 -redirectFrom: /ref/changelog.html +icon: update --- + + ## [0.48.0](https://github.com/Mereithhh/van-blog/compare/v0.47.0...v0.48.0) (2023-02-27) ### ✨ Features | 新功能 diff --git a/scripts/releaseDoc.js b/scripts/releaseDoc.js index 4fe7b7714..af28bbbf1 100644 --- a/scripts/releaseDoc.js +++ b/scripts/releaseDoc.js @@ -5,7 +5,7 @@ const insertLog = () => { "---\ntitle: 更新日志\nicon: update\n---\n\n" + log.replace("# Changelog", ""); - fs.writeFileSync("docs/ref/changelog.md", newLog, { encoding: "utf-8" }); + fs.writeFileSync("docs/changelog.md", newLog, { encoding: "utf-8" }); let version = fs.readFileSync("doc-version", { encoding: "utf-8" }); version = version.split("\n")[0].trim();