📝 docs: fix teek theme
This commit is contained in:
parent
3920c6ff59
commit
5ee56f8217
@ -1,17 +1,13 @@
|
|||||||
import { defineConfig } from "vitepress";
|
import { defineConfig } from "vitepress";
|
||||||
import { defineTeekConfig } from "vitepress-theme-teek/config";
|
import { defineTeekConfig } from "vitepress-theme-teek/config";
|
||||||
|
|
||||||
// Teek 主题配置
|
|
||||||
const teekConfig = defineTeekConfig({
|
const teekConfig = defineTeekConfig({
|
||||||
// 文章元数据配置
|
|
||||||
article: {
|
article: {
|
||||||
author: "PPanel",
|
author: "PPanel",
|
||||||
},
|
},
|
||||||
// 页脚配置
|
|
||||||
footer: {
|
footer: {
|
||||||
copyright: "Copyright © 2025 PPanel",
|
copyright: "Copyright © 2025 PPanel",
|
||||||
},
|
},
|
||||||
// 评论按钮配置 - 跳转到 Telegram 群组
|
|
||||||
toComment: {
|
toComment: {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
done: () => {
|
done: () => {
|
||||||
@ -28,7 +24,6 @@ export default defineConfig({
|
|||||||
description:
|
description:
|
||||||
"PPanel is a pure, professional, and perfect open-source proxy panel tool, designed to be your ideal choice for learning and practical use.",
|
"PPanel is a pure, professional, and perfect open-source proxy panel tool, designed to be your ideal choice for learning and practical use.",
|
||||||
|
|
||||||
// 国际化配置
|
|
||||||
locales: {
|
locales: {
|
||||||
root: {
|
root: {
|
||||||
label: "English",
|
label: "English",
|
||||||
@ -36,10 +31,10 @@ export default defineConfig({
|
|||||||
themeConfig: {
|
themeConfig: {
|
||||||
nav: [
|
nav: [
|
||||||
{ text: "Home", link: "/" },
|
{ text: "Home", link: "/" },
|
||||||
{ text: "Guide", link: "/zh/guide/intro" },
|
{ text: "Guide", link: "/guide/intro" },
|
||||||
{ text: "Features", link: "/zh/admin/dashboard" },
|
{ text: "Features", link: "/admin/dashboard" },
|
||||||
{ text: "API", link: "/zh/api/reference" },
|
{ text: "API", link: "/api/reference" },
|
||||||
{ text: "Sponsors", link: "/zh/sponsors" },
|
{ text: "Sponsors", link: "/sponsors" },
|
||||||
{
|
{
|
||||||
text: "Stats",
|
text: "Stats",
|
||||||
link: "https://stats.ppanel.dev",
|
link: "https://stats.ppanel.dev",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user