From cc970d887c66b3cf187cccd8d82175a7c1fb0a7f Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Mon, 31 Mar 2025 21:18:44 -0500 Subject: [PATCH] fix: add /docs/ prefix to internal links --- src/content/docs/basics/getting-started.mdx | 6 +++--- src/content/docs/clack/core.mdx | 2 +- src/content/docs/index.mdx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/content/docs/basics/getting-started.mdx b/src/content/docs/basics/getting-started.mdx index 46b9d22..5754442 100644 --- a/src/content/docs/basics/getting-started.mdx +++ b/src/content/docs/basics/getting-started.mdx @@ -114,9 +114,9 @@ if (isCancel(name)) { ## Next Steps -1. Check out our [Examples](/guides/examples) for more practical use cases -2. Learn about [Best Practices](/guides/best-practices) for building CLIs -3. Explore the [API Reference](/api) for detailed documentation +1. Check out our [Examples](/docs/guides/examples) for more practical use cases +2. Learn about [Best Practices](/docs/guides/best-practices) for building CLIs +3. Explore the [API Reference](/docs/api) for detailed documentation 4. Join our [Discord community](https://bomb.sh/chat) for support and discussions ## TypeScript Support diff --git a/src/content/docs/clack/core.mdx b/src/content/docs/clack/core.mdx index 560ec2a..1206972 100644 --- a/src/content/docs/clack/core.mdx +++ b/src/content/docs/clack/core.mdx @@ -65,4 +65,4 @@ Then import the components you need: import { TextPrompt, SelectPrompt, ConfirmPrompt } from '@clack/core'; ``` -For detailed examples and usage patterns, check out our [examples guide](/guides/examples). \ No newline at end of file +For detailed examples and usage patterns, check out our [examples guide](/docs/guides/examples). diff --git a/src/content/docs/index.mdx b/src/content/docs/index.mdx index fc3c025..7b5a633 100644 --- a/src/content/docs/index.mdx +++ b/src/content/docs/index.mdx @@ -13,7 +13,7 @@ hero: light: "/src/assets/light.svg" actions: - text: Get started - link: /basics/getting-started/ + link: /docs/basics/getting-started/ icon: right-arrow variant: primary - text: GitHub repository -- 2.51.2