PhyrePanel-mirror/docs/.vitepress/config.mjs

95 lines
2.2 KiB
JavaScript
Raw Normal View History

2024-05-17 14:54:03 +00:00
import { defineConfig } from 'vitepress'
2024-05-17 17:01:33 +00:00
import { version } from '../package.json';
2024-05-17 14:54:03 +00:00
// https://vitepress.dev/reference/site-config
export default defineConfig({
2024-05-17 16:41:57 +00:00
locales: {
root: {
label: 'English',
lang: 'en'
},
2024-05-17 17:13:06 +00:00
// bg: {
// label: 'Български',
// lang: 'bg',
// }
2024-05-17 16:41:57 +00:00
},
2024-05-17 17:37:21 +00:00
sitemap: {
2024-06-06 14:30:04 +00:00
hostname: 'https://phyreapps.github.io/PhyrePanel/',
2024-05-17 17:37:21 +00:00
lastmodDateOnly: false
},
2024-05-17 16:41:57 +00:00
lang: 'en-US',
title: "Phyre Panel",
description: "Phyre Panel - Documentation",
2024-05-17 14:54:03 +00:00
themeConfig: {
2024-05-17 16:41:57 +00:00
search: {
provider: 'local'
},
2024-05-17 17:37:21 +00:00
logo: '/phyre-logo-icon.svg',
2024-05-17 14:54:03 +00:00
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: 'Home', link: '/' },
2024-05-17 19:17:28 +00:00
{ text: 'Install', link: '/install' },
{ text: 'Introduction', link: '/introduction/getting-started' },
2024-05-17 17:53:36 +00:00
{ text: 'Team', link: '/team' },
2024-05-17 17:01:33 +00:00
{
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',
},
],
},
2024-05-17 14:54:03 +00:00
],
sidebar: [
{
2024-05-17 17:01:33 +00:00
text: 'Introduction',
2024-05-17 14:54:03 +00:00
items: [
2024-05-17 19:17:28 +00:00
{ text: 'Getting Started', link: '/introduction/getting-started' },
{ text: 'Installation', link: '/install' },
{ text: 'Requirements', link: '/introduction/requirements' },
{ text: 'Features', link: '/introduction/features' },
]
},
{
text: 'Integrations',
items: [
{ text: 'WHMCS', link: '/integrations/whmcs' },
2024-05-17 14:54:03 +00:00
]
2024-05-17 19:28:55 +00:00
},
{
text: 'Contributing',
items: [
{ text: 'Documentation', link: '/contributing/documentation' },
]
2024-05-17 14:54:03 +00:00
}
],
socialLinks: [
2024-05-17 17:01:33 +00:00
{ icon: 'github', link: 'https://github.com/PhyreApps/PhyrePanel' }
2024-05-17 16:41:57 +00:00
],
footer: {
message: 'Released under the GNU License.',
2024-05-17 17:01:33 +00:00
copyright: 'Copyright © 2024-present Phyre Control Panel',
},
2024-05-17 16:41:57 +00:00
2024-05-17 14:54:03 +00:00
}
})