2020-12-11 15:24:17 +01:00

236 lines
8.5 KiB
JavaScript

module.exports = {
base: '/',
title: 'Pterodactyl',
description: 'The open-source server management solution.',
plugins: [
['@vuepress/google-analytics', {
ga: 'UA-12345678-9'
},],
['@vuepress/search', {
searchMaxSuggestions: 10
}],
['vuepress-plugin-container', {
type: 'warning',
}],
['vuepress-plugin-container', {
type: 'tip',
}],
['vuepress-plugin-container', {
type: 'danger',
}],
],
configureWebpack: {
serve: {
hot: {
port: 9091,
},
},
},
head: [
['link', { rel: 'apple-touch-icon', sizes: '180x180', href: '/favicons/apple-touch-icon.png' }],
['link', { rel: 'icon', type: 'image/png', href: '/favicons/favicon-32x32.png', sizes: '32x32' }],
['link', { rel: 'icon', type: 'image/png', href: '/favicons/favicon-16x16.png', sizes: '16x16' }],
['link', { rel: 'mask-icon', href: '/favicons/safari-pinned-tab.svg', color: '#0e4688' }],
['link', { rel: 'manifest', href: '/favicons/manifest.json' }],
['link', { rel: 'shortcut icon', href: '/favicons/favicon.ico' }],
['meta', { name: 'msapplication-config', content: '/favicons/browserconfig.xml' }],
['meta', { name: 'theme-color', content: '#0e4688' }],
],
themeConfig: {
repo: 'pterodactyl/panel',
docsRepo: 'pterodactyl/documentation',
repoLabel: 'Contribute',
editLinkText: 'Help us improve this page.',
editLinks: true,
logo: '/pterodactyl-flat.png',
nav: [
{
text: 'Documentation',
link: '/project/introduction.md',
},
{
text: 'Community Guides',
link: '/community/about.md',
},
{
text: 'Get Help',
link: 'https://pterodactyl.io/discord'
},
{
text: 'API',
link: 'https://dashflo.net/docs/api/pterodactyl/v1/'
}
],
sidebar: {
'/community/': [
{
title: 'Community Guides',
collapsable: false,
children: [
'/community/about.md',
]
},
{
title: 'Panel Installation',
collapsable: false,
children: [
'/community/installation-guides/panel/centos7.md',
'/community/installation-guides/panel/centos8.md',
'/community/installation-guides/panel/debian9.md',
'/community/installation-guides/panel/debian10.md',
'/community/installation-guides/panel/ubuntu1804.md',
'/community/installation-guides/panel/ubuntu2004.md',
]
},
{
title: 'Wings Installation',
collapsable: false,
children: [
'/community/installation-guides/wings/centos7.md',
'/community/installation-guides/wings/centos8.md',
'/community/installation-guides/wings/debian9.md',
'/community/installation-guides/wings/debian10.md',
'/community/installation-guides/wings/ubuntu1804.md',
'/community/installation-guides/wings/ubuntu2004.md',
]
},
{
title: 'Creating Eggs',
collapsable: false,
children: [
'/community/config/eggs/creating_a_custom_egg.md',
'/community/config/eggs/creating_a_custom_image.md',
],
},
{
title: 'Game Configuration',
collapsable: false,
children: [
'/community/games/minecraft.md',
],
},
{
title: 'Tutorials',
collapsable: false,
children: [
'/community/config/nodes/add_node.md',
'/community/tutorials/custom_theme_setup.md',
'/community/tutorials/artisan.md',
],
},
],
'/': [
{
title: 'Project Information',
collapsable: false,
children: [
'/project/introduction.md',
'/project/about.md',
'/project/terms.md',
'/project/community.md',
]
},
{
title: 'Panel',
collapsable: false,
path: '/panel/',
currentVersion: '1.0',
versions: [
{
name: '0.7',
status: 'legacy',
children: [
'/getting_started',
'/webserver_configuration',
'/upgrading',
'/configuration',
'/troubleshooting',
]
},
{
name: '1.0',
status: 'stable',
children: [
'/getting_started',
'/webserver_configuration',
'/upgrading'
]
}
]
},
{
title: 'Wings',
collapsable: false,
path: '/wings/',
currentVersion: '1.0',
versions: [
{
name: '1.0',
status: 'stable',
children: [
'/installing',
'/upgrading',
'/migrating',
'/configuration',
]
}
]
},
{
title: 'Daemon',
collapsable: false,
path: '/daemon/',
versions: [
{
name: '0.6',
status: 'legacy',
children: [
'/installing',
'/upgrading',
'/configuration',
'/kernel_modifications',
'/debian_8_docker',
'/standalone_sftp',
]
}
]
},
{
title: 'Tutorials',
collapsable: false,
children: [
'/tutorials/mysql_setup.md',
'/tutorials/creating_ssl_certificates.md',
'/community/about.md',
],
},
{
title: 'Guides',
collapsable: false,
children: [
'/guides/disabling-reCAPTCHA.md',
'/guides/mounts.md',
'/guides/s3-backups.md'
],
},
{
title: 'Development & Ops',
collapsable: true,
children: [
'/ops/publish_release.md',
],
},
],
},
},
postcss: {
plugins: [
require('postcss-import'),
require('tailwindcss')('./tailwind.js'),
require('precss'),
require('autoprefixer'),
require('cssnano'),
]
}
};