From 22e20fe0a00bccdef9ff5676a77eaea922e73e29 Mon Sep 17 00:00:00 2001 From: Dominik Nakamura Date: Mon, 1 Jan 2024 22:59:24 +0900 Subject: [PATCH] fix(book): point directly to first user guide/reference pages Instead of pointing to an empty page, link to the first currently filled page of both the user guide and reference. --- book/.vitepress/config.mjs | 4 ++-- book/src/index.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/book/.vitepress/config.mjs b/book/.vitepress/config.mjs index 35f4eab..491043c 100644 --- a/book/.vitepress/config.mjs +++ b/book/.vitepress/config.mjs @@ -33,8 +33,8 @@ export default defineConfig({ pattern: "https://github.com/dnaka91/stef/edit/main/book/src/:path", }, nav: [ - { text: "Guide", link: "/guide/", activeMatch: "/guide/" }, - { text: "Reference", link: "/reference/", activeMatch: "/reference/" }, + { text: "Guide", link: "/guide/installation", activeMatch: "/guide/" }, + { text: "Reference", link: "/reference/schema/", activeMatch: "/reference/" }, ], sidebar: [ diff --git a/book/src/index.md b/book/src/index.md index a4ece05..c3a9274 100644 --- a/book/src/index.md +++ b/book/src/index.md @@ -12,10 +12,10 @@ hero: actions: - theme: brand text: User Guide - link: /guide/ + link: /guide/installation - theme: alt text: Reference - link: /reference/ + link: /reference/schema/ features: - icon: 🦀