mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2026-09-22 22:38:05 +03:00
navbar
This commit is contained in:
+15
-6
@@ -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: [
|
||||
|
||||
@@ -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/" },
|
||||
];
|
||||
@@ -1,3 +0,0 @@
|
||||
export * from "./en.js";
|
||||
export * from "./zh.js";
|
||||
export * from "./ru.js";
|
||||
@@ -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/" },
|
||||
];
|
||||
@@ -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/" },
|
||||
];
|
||||
Reference in New Issue
Block a user