2
0
mirror of https://github.com/acepanel/acepanel.github.io.git synced 2026-02-04 09:13:09 +08:00

feat: update

This commit is contained in:
耗子
2024-12-13 22:59:56 +08:00
parent 0b5316ee66
commit 30d6f85868
3 changed files with 63 additions and 26 deletions

View File

@@ -51,7 +51,6 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: Deploy
steps:
- name: Deploy to GitHub Pages
id: deployment

View File

@@ -1,28 +1,66 @@
import { defineConfig } from 'vitepress'
import {defineConfig} from 'vitepress'
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "耗子面板",
description: "耗子面板官网",
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: 'Home', link: '/' },
{ text: 'Examples', link: '/markdown-examples' }
],
sidebar: [
{
text: 'Examples',
items: [
{ text: 'Markdown Examples', link: '/markdown-examples' },
{ text: 'Runtime API Examples', link: '/api-examples' }
]
}
],
socialLinks: [
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' }
]
}
title: "耗子面板",
description: "简单轻量,高效运维",
lang: "zh",
lastUpdated: true,
locales: {
root: {
label: '简体中文',
lang: 'zh-Hans',
},
en: {
label: 'English',
lang: 'en',
title: 'Rat Panel',
},
},
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
{text: '首页', link: '/'},
{text: 'Examples', link: '/markdown-examples'}
],
sidebar: [
{
text: 'Examples',
items: [
{text: 'Markdown Examples', link: '/markdown-examples'},
{text: 'Runtime API Examples', link: '/api-examples'}
]
}
],
socialLinks: [
{icon: 'github', link: 'https://github.com/vuejs/vitepress'}
],
search: {
provider: 'local',
options: {
locales: {
root: {
translations: {
button: {
buttonText: '搜索文档',
buttonAriaLabel: '搜索文档'
},
modal: {
noResultsText: '无法找到相关结果',
resetButtonTitle: '清除查询条件',
footer: {
selectText: '选择',
navigateText: '切换'
}
}
}
}
}
}
},
footer: {
message: '耗子面板',
copyright: '耗子面板 © 2022-2024 版权所有'
}
}
})

View File

@@ -4,7 +4,7 @@ layout: home
hero:
name: "耗子面板"
text: "耗子面板官网"
text: "简单轻量,高效运维"
tagline: My great project tagline
actions:
- theme: brand