Fix sidebar link

This commit is contained in:
hmol233
2021-05-06 22:41:59 +08:00
parent f68422788d
commit b43b93fbb5
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -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: "/" },
+2 -1
View File
@@ -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",