From 60fde693e5d81f8c9c0505415596220ff53b0b91 Mon Sep 17 00:00:00 2001 From: Dmytro Svystun Date: Wed, 17 Jul 2024 19:55:59 +0300 Subject: [PATCH] feat: [WTT-631] fix routing Signed-off-by: Dmytro Svystun --- docs/astro.config.mjs | 2 +- docs/src/layouts/BaseLayout.astro | 1 + docs/src/pages/index.astro | 2 +- docs/src/pages/main.md | 6 +++--- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index 9fadf17b..c6e0673b 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -4,7 +4,7 @@ import remarkToc from "remark-toc"; // https://astro.build/config export default defineConfig({ redirects: { - "/": "/main", + "/ALab": "ALab/main", }, markdown: { remarkPlugins: [[remarkToc, { heading: "toc" }]], diff --git a/docs/src/layouts/BaseLayout.astro b/docs/src/layouts/BaseLayout.astro index 712e75e9..cb5387e0 100644 --- a/docs/src/layouts/BaseLayout.astro +++ b/docs/src/layouts/BaseLayout.astro @@ -1,5 +1,6 @@ + diff --git a/docs/src/pages/index.astro b/docs/src/pages/index.astro index c7f8ce0b..b7d4ca31 100644 --- a/docs/src/pages/index.astro +++ b/docs/src/pages/index.astro @@ -1,3 +1,3 @@ --- -return Astro.redirect('/main'); +return Astro.redirect("ALab/main"); --- diff --git a/docs/src/pages/main.md b/docs/src/pages/main.md index 1d7399d3..40fd7122 100644 --- a/docs/src/pages/main.md +++ b/docs/src/pages/main.md @@ -20,9 +20,9 @@ For quick preview and inspection, [`USDView`](https://graphics.pixar.com/usd/doc # Documentation -- [Documentation](documentation) - File structure layout and asset documentation. -- [AL-specific content](alSpecific) - Animal Logic specific concepts, which we love, but had to remove from ALab to ensure ease of use and compatibility. -- [Changelog](changelog) - List of all the updates from the latest versions of ALab. +- [Documentation](./documentation) - File structure layout and asset documentation. +- [AL-specific content](./alSpecific) - Animal Logic specific concepts, which we love, but had to remove from ALab to ensure ease of use and compatibility. +- [Changelog](./changelog) - List of all the updates from the latest versions of ALab. # About ALab