docs: github setup and hosting fixes

This commit is contained in:
Jacky Zhao 2023-12-03 23:25:35 -08:00
parent f0ec6c9b92
commit 5196f3b9db
6 changed files with 49 additions and 15 deletions
quartz/cli

View file

@ -196,6 +196,11 @@ See the [documentation](https://quartz.jzhao.xyz) for how to get started.
)
await fs.promises.writeFile(configFilePath, configContent)
// setup remote
execSync(
`git remote show upstream || git remote add upstream https://github.com/jackyzha0/quartz.git`,
)
outro(`You're all set! Not sure what to do next? Try:
Customizing Quartz a bit more by editing \`quartz.config.ts\`
Running \`npx quartz build --serve\` to preview your Quartz locally