diff --git a/astro.config.ts b/astro.config.ts index 535d681..f86c114 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -48,6 +48,7 @@ export default defineConfig({ resolve: { alias: { "~": resolve(__dirname, "./src"), + "@docs": resolve(__dirname, "./docs"), "@pages": resolve(__dirname, "./src/pages"), "@assets": resolve(__dirname, "./src/assets"), "@scripts": resolve(__dirname, "./src/scripts"), diff --git a/src/pages/docs/discord-experiments-api/experiments.md b/docs/discord-experiments-api/experiments.md similarity index 99% rename from src/pages/docs/discord-experiments-api/experiments.md rename to docs/discord-experiments-api/experiments.md index 662b393..ebc7304 100644 --- a/src/pages/docs/discord-experiments-api/experiments.md +++ b/docs/discord-experiments-api/experiments.md @@ -1,7 +1,6 @@ --- title: Experiments description: How to fetch experiments from the API -layout: ../../../layouts/docs/ItemLayout.astro --- # Experiments diff --git a/src/pages/docs/discord-experiments-api/introduction.md b/docs/discord-experiments-api/introduction.md similarity index 96% rename from src/pages/docs/discord-experiments-api/introduction.md rename to docs/discord-experiments-api/introduction.md index 4976ac4..7bbbd87 100644 --- a/src/pages/docs/discord-experiments-api/introduction.md +++ b/docs/discord-experiments-api/introduction.md @@ -1,7 +1,6 @@ --- title: Introduction description: Introduction to the Discord Experiments API -layout: ../../../layouts/docs/ItemLayout.astro --- # Introduction diff --git a/src/components/widgets/docs/LeftSidebar.astro b/src/components/widgets/docs/LeftSidebar.astro index 5f783ca..63a575f 100644 --- a/src/components/widgets/docs/LeftSidebar.astro +++ b/src/components/widgets/docs/LeftSidebar.astro @@ -34,7 +34,6 @@ const getLinkClasses = (link: Sidebar) => { /> -