From baa7111fc9cc6622d08859d7d35ef59f5f9b1272 Mon Sep 17 00:00:00 2001 From: guesung Date: Sun, 27 Oct 2024 16:59:20 +0900 Subject: [PATCH] fix: add `type` and `docId` for navBar (#292) --- website/docusaurus.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 4f0881ed..2fdf8674 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -57,8 +57,8 @@ const config = { src: "img/fxts.png", }, items: [ - { to: "/docs/getting-started", label: "Docs", position: "left" }, - { to: "/docs", label: "API", position: "left" }, + { to: "/docs/getting-started", label: "Docs", position: "left",type:'doc', docId:'getting-started' }, + { to: "/docs", label: "API", position: "left", type:'doc', docId: 'index' }, { href: "https://github.com/marpple/fxts", label: "GitHub",