From b055e2c7907ecf8211b93ba1d25eda27b0621c1e Mon Sep 17 00:00:00 2001 From: andatoshiki <101481353+andatoshiki@users.noreply.github.com> Date: Wed, 22 Mar 2023 15:35:04 +0800 Subject: [PATCH] fix: fix path for `markdown-it-katex` documentation index and add ipho formula jpn to nav --- docs/.vitepress/config/nav.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docs/.vitepress/config/nav.ts b/docs/.vitepress/config/nav.ts index 548cc69c..5088a261 100644 --- a/docs/.vitepress/config/nav.ts +++ b/docs/.vitepress/config/nav.ts @@ -1,6 +1,10 @@ import { DefaultTheme } from 'vitepress/theme' export const nav: DefaultTheme.Config['nav'] = [ + { + text: 'Development', + link: '/development/', + }, { text: 'Academic', items: [ @@ -12,6 +16,12 @@ export const nav: DefaultTheme.Config['nav'] = [ { text: 'Literature', link: '/academic/literature/index', activeMatch: '/academic/literature/' }, ], }, + { + text: 'Tools', + items: [ + { text: 'Formulas for IPhO JPN.', link: '/academic/physics/ipho-formulas-jpn/1', activeMatch: '/academic/physics/ipho-formulas-jpn/' }, + ] + }, { text: '', link: '', activeMatch: '' }, { text: '', link: '', activeMatch: '' }, { text: '', link: '', activeMatch: '' }, @@ -31,7 +41,7 @@ export const nav: DefaultTheme.Config['nav'] = [ items: [ { text: 'markdown-it-katex', - link: '/application/markdown-it-katex/index', + link: '/application/markdown-it-katex/how-to-use', activeMatch: '/application/markdown-it-katex/', }, { text: '', link: '', activeMatch: '' },