Skip to content

Commit

Permalink
fix(book): point directly to first user guide/reference pages
Browse files Browse the repository at this point in the history
Instead of pointing to an empty page, link to the first currently filled
page of both the user guide and reference.
  • Loading branch information
dnaka91 committed Jan 1, 2024
1 parent d3ff9db commit 22e20fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions book/.vitepress/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down
4 changes: 2 additions & 2 deletions book/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: 🦀
Expand Down

0 comments on commit 22e20fe

Please sign in to comment.