This commit is contained in:
Meow
2025-12-21 22:14:50 -05:00
committed by yuhan6665
parent 0467ad3c73
commit 0c01d22f51
5 changed files with 15 additions and 37 deletions
+15 -6
View File
@@ -10,8 +10,11 @@ export default defineConfig({
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: "Home", link: "/" },
{ text: "Examples", link: "/markdown-examples" },
{ text: "首页", link: "/" },
{ text: "大史记", link: "/about/news.md" },
{ text: "配置指南", link: "/config/" },
{ text: "开发指南", link: "/development/" },
{ text: "使用指南", link: "/document/" },
],
sidebar: [
@@ -45,8 +48,11 @@ export default defineConfig({
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: "Home", link: "/" },
{ text: "Examples", link: "/markdown-examples" },
{ text: "Homepage", link: "/en" },
{ text: "The Great Chronicles", link: "/en/about/news.md" },
{ text: "Config Reference", link: "/en/config/" },
{ text: "Developer Guide", link: "/en/development/" },
{ text: "Quick Start", link: "/en/document/" },
],
sidebar: [
@@ -75,8 +81,11 @@ export default defineConfig({
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: "Home", link: "/" },
{ text: "Examples", link: "/markdown-examples" },
{ text: "Главная", link: "/ru" },
{ text: "История сайта", link: "/ru/about/news.md" },
{ text: "Справочник по конфигурации", link: "/ru/config/" },
{ text: "Руководство разработчика", link: "/ru/development/" },
{ text: "Быстрый старт", link: "/ru/document/" },
],
sidebar: [
-10
View File
@@ -1,10 +0,0 @@
import { NavbarConfig } from "@vuepress/theme-default";
// TODO: translation
export const navbarEn: NavbarConfig = [
{ text: "Homepage", link: "/en" },
{ text: "The Great Chronicles", link: "/en/about/news.md" },
{ text: "Config Reference", link: "/en/config/" },
{ text: "Developer Guide", link: "/en/development/" },
{ text: "Quick Start", link: "/en/document/" },
];
-3
View File
@@ -1,3 +0,0 @@
export * from "./en.js";
export * from "./zh.js";
export * from "./ru.js";
-9
View File
@@ -1,9 +0,0 @@
import { NavbarConfig } from "@vuepress/theme-default";
export const navbarRu: NavbarConfig = [
{ text: "Главная", link: "/ru" },
{ text: "История сайта", link: "/ru/about/news.md" },
{ text: "Справочник по конфигурации", link: "/ru/config/" },
{ text: "Руководство разработчика", link: "/ru/development/" },
{ text: "Быстрый старт", link: "/ru/document/" },
];
-9
View File
@@ -1,9 +0,0 @@
import { NavbarConfig } from "@vuepress/theme-default";
export const navbarZh: NavbarConfig = [
{ text: "首页", link: "/" },
{ text: "大史记", link: "/about/news.md" },
{ text: "配置指南", link: "/config/" },
{ text: "开发指南", link: "/development/" },
{ text: "使用指南", link: "/document/" },
];