diff --git a/docs/.vuepress/config/navbar.ts b/docs/.vuepress/config/navbar.ts index b7780a8f7..aee7bf53e 100644 --- a/docs/.vuepress/config/navbar.ts +++ b/docs/.vuepress/config/navbar.ts @@ -1,4 +1,4 @@ -import { NavbarConfig } from "@vuepress/theme-default/lib/types/nav"; +import { NavbarConfig } from "@vuepress/theme-default"; export const hans: NavbarConfig = [ { text: "首页", link: "/" }, diff --git a/docs/.vuepress/config/sidebar.ts b/docs/.vuepress/config/sidebar.ts index 552ce2efe..2a3de3f94 100644 --- a/docs/.vuepress/config/sidebar.ts +++ b/docs/.vuepress/config/sidebar.ts @@ -1,4 +1,4 @@ -import { SidebarConfigArray } from "@vuepress/theme-default/lib/types/nav"; +import { SidebarConfigArray } from "@vuepress/theme-default"; export function getConfigSidebar( feature: string, @@ -25,6 +25,7 @@ export function getConfigSidebar( isGroup: true, children: [ path + "", + path + "log.md", path + "api.md", path + "dns.md", path + "fakedns.md",