mirror of
https://github.com/PhyreApps/PhyrePanel.git
synced 2024-12-04 05:20:37 +00:00
update
This commit is contained in:
parent
428be59c5e
commit
5c5a713c8a
4 changed files with 28 additions and 7 deletions
|
@ -1,4 +1,5 @@
|
|||
import { defineConfig } from 'vitepress'
|
||||
import { version } from '../package.json';
|
||||
|
||||
// https://vitepress.dev/reference/site-config
|
||||
export default defineConfig({
|
||||
|
@ -27,27 +28,46 @@ export default defineConfig({
|
|||
// https://vitepress.dev/reference/default-theme-config
|
||||
nav: [
|
||||
{ text: 'Home', link: '/' },
|
||||
{ text: 'Examples', link: '/markdown-examples' }
|
||||
{ text: 'Introduction', link: '/introduction/markdown-examples' },
|
||||
|
||||
{
|
||||
text: `v${version}`,
|
||||
items: [
|
||||
{
|
||||
text: 'Changelog',
|
||||
link: 'https://github.com/PhyreApps/PhyrePanel/blob/main/CHANGELOG.md',
|
||||
},
|
||||
{
|
||||
text: 'Contributing',
|
||||
link: 'https://github.com/PhyreApps/PhyrePanel/blob/main/CONTRIBUTING.md',
|
||||
},
|
||||
{
|
||||
text: 'Security policy',
|
||||
link: 'https://github.com/PhyreApps/PhyrePanel/blob/main/SECURITY.md',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
sidebar: [
|
||||
{
|
||||
text: 'Examples',
|
||||
text: 'Introduction',
|
||||
items: [
|
||||
{ text: 'Markdown Examples', link: '/markdown-examples' },
|
||||
{ text: 'Runtime API Examples', link: '/api-examples' }
|
||||
{ text: 'Markdown Examples', link: '/introduction/markdown-examples' },
|
||||
{ text: 'Runtime API Examples', link: '/introduction/api-examples' }
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
socialLinks: [
|
||||
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' }
|
||||
{ icon: 'github', link: 'https://github.com/PhyreApps/PhyrePanel' }
|
||||
],
|
||||
|
||||
footer: {
|
||||
message: 'Released under the GNU License.',
|
||||
copyright: 'Copyright © 2024 Cloud Vision Ltd.'
|
||||
}
|
||||
copyright: 'Copyright © 2024-present Phyre Control Panel',
|
||||
},
|
||||
|
||||
|
||||
}
|
||||
})
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
"version": "0.0.9",
|
||||
"scripts": {
|
||||
"docs:dev": "vitepress dev",
|
||||
"docs:build": "vitepress build",
|
||||
|
|
Loading…
Reference in a new issue