From d5c4cb21c471883594ee44b11b5e1d409d4defcc Mon Sep 17 00:00:00 2001 From: kmlbgn Date: Wed, 28 Feb 2024 00:49:35 +0800 Subject: [PATCH] docu-notion versio bump + learn page as site index --- docusaurus.config.js | 10 +++++----- package.json | 2 +- yarn.lock | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index fa674c5..10fb29b 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -24,7 +24,7 @@ const config = { '@docusaurus/preset-classic', { docs: { - path: 'tabs/docs/', + path: 'tabs/learn/', routeBasePath: '/', remarkPlugins: [require('remark-math')], rehypePlugins: [require('rehype-katex')], @@ -45,7 +45,7 @@ const config = { { id: 'docs', path: 'tabs/Docs', - routeBasePath: '/', + routeBasePath: '/docs/', sidebarPath: undefined, remarkPlugins: [require('remark-math')], rehypePlugins: [require('rehype-katex')], @@ -56,7 +56,7 @@ const config = { { id: 'learn', path: 'tabs/Learn', - routeBasePath: '/learn/', + routeBasePath: '/', sidebarPath: undefined, remarkPlugins: [require('remark-math')], rehypePlugins: [require('rehype-katex')], @@ -139,13 +139,13 @@ const config = { }, { label: 'Docs', - to: '/', + to: '/docs/', position: 'left', // activeBaseRegex: '^/docs/', }, { label: 'Learn', - to: '/learn/', + to: '/', position: 'left', }, { diff --git a/package.json b/package.json index 80a5c1f..6076229 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "serve": "docusaurus serve" }, "dependencies": { - "docu-notion-kira": "1.3.0", + "docu-notion-kira": "1.3.2", "@docusaurus/core": "3.0.1", "@docusaurus/preset-classic": "3.0.1", "@easyops-cn/docusaurus-search-local": "0.40.1", diff --git a/yarn.lock b/yarn.lock index f03a5df..09916ca 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3858,10 +3858,10 @@ dns-packet@^5.2.2: dependencies: "@leichtgewicht/ip-codec" "^2.0.1" -docu-notion-kira@1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/docu-notion-kira/-/docu-notion-kira-1.3.0.tgz#d1481c2431eeef3e3f64da3b5427451c7eb28992" - integrity sha512-NJOrBYJiS9E76nNuDiF45qgZQgL3MwC7TS2B49NvaQeQXAzLbLWrLt81LbarkEi3m4ZytH64eWXIQ2ZrKvqOIg== +docu-notion-kira@1.3.1: + version "1.3.1" + resolved "https://registry.yarnpkg.com/docu-notion-kira/-/docu-notion-kira-1.3.1.tgz#f6abf642bb79f6ca482bf380fb6965dfefb23e45" + integrity sha512-RoCJ0DZRKfunrCfHF/k3/XnE3dsxypzXmgf5DRupsYsEhTwSfPtDrDNcagjfVfYPn0H2FrnCU/hoAiMPZEZUiw== dependencies: "@notionhq/client" "2.2.3" chalk "^4.1.2"