docs: fix repo links and update command for create project (#164)

Co-authored-by: Matt Kane <mkane@cloudflare.com>
This commit is contained in:
Will (liruifengv)
2026-04-04 05:42:07 +08:00
committed by GitHub
parent 0aae9d806b
commit e4a44eca62
3 changed files with 6 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ export default defineConfig({
{ {
icon: "github", icon: "github",
label: "GitHub", label: "GitHub",
href: "https://github.com/withastro/emdash", href: "https://github.com/emdash-cms/emdash",
}, },
{ {
icon: "discord", icon: "discord",
@@ -26,7 +26,7 @@ export default defineConfig({
}, },
], ],
editLink: { editLink: {
baseUrl: "https://github.com/withastro/emdash/edit/main/docs/", baseUrl: "https://github.com/emdash-cms/emdash/tree/main/docs",
}, },
customCss: ["./src/styles/custom.css"], customCss: ["./src/styles/custom.css"],
sidebar: [ sidebar: [

View File

@@ -20,17 +20,17 @@ This guide walks you through creating your first EmDash site, from installation
<Tabs> <Tabs>
<TabItem label="npm"> <TabItem label="npm">
```bash ```bash
npm create astro@latest -- --template emdash npm create emdash@latest
``` ```
</TabItem> </TabItem>
<TabItem label="pnpm"> <TabItem label="pnpm">
```bash ```bash
pnpm create astro@latest --template emdash pnpm create emdash@latest
``` ```
</TabItem> </TabItem>
<TabItem label="yarn"> <TabItem label="yarn">
```bash ```bash
yarn create astro --template emdash yarn create emdash
``` ```
</TabItem> </TabItem>
</Tabs> </Tabs>

View File

@@ -9,7 +9,7 @@ hero:
link: /getting-started/ link: /getting-started/
icon: right-arrow icon: right-arrow
- text: View on GitHub - text: View on GitHub
link: https://github.com/withastro/emdash link: https://github.com/emdash-cms/emdash
icon: external icon: external
variant: minimal variant: minimal
--- ---