This commit is contained in:
parent
cb29d98f82
commit
0a10ea1d67
3 changed files with 4 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,6 +2,7 @@ node_modules
|
|||
site/.vitepress/dist
|
||||
site/.vitepress/cache
|
||||
site/public/garden/
|
||||
site/public/changelog/
|
||||
site/changelog/index.md
|
||||
site/guide-to-incrementals/
|
||||
garden-output/
|
|
@ -295,6 +295,8 @@ ${entries.join("\n\n")}
|
|||
`);
|
||||
fs.closeSync(fd);
|
||||
|
||||
fs.mkdirSync("./public/changelog");
|
||||
|
||||
fd = fs.openSync("site/public/changelog/rss", "w+");
|
||||
fs.writeSync(fd, feed.rss2());
|
||||
fs.closeSync(fd);
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"scripts": {
|
||||
"serve": "vitepress serve site",
|
||||
"dev": "vitepress dev site",
|
||||
"build": "rm -rf ./site/guide-to-incrementals && rm -rf ./site/public/garden && rm -rf ./site/changelog && rm -rf ./site/garden && rm -rf ./garden-output && yarn run logseq-export && node build_garden.js && vitepress build site",
|
||||
"build": "rm -rf ./site/guide-to-incrementals && rm -rf ./site/public/garden && rm -rf ./site/public/changelog && rm -rf ./site/changelog && rm -rf ./site/garden && rm -rf ./garden-output && yarn run logseq-export && node build_garden.js && vitepress build site",
|
||||
"logseq-export": "run-script-os",
|
||||
"logseq-export:win32": "logseq-export/logseq-export.exe --logseqFolder ./Garden --outputFolder ./garden-output",
|
||||
"logseq-export:linux": "chmod +x logseq-export/logseq-export && logseq-export/logseq-export --logseqFolder ./Garden --outputFolder ./garden-output"
|
||||
|
|
Loading…
Reference in a new issue