Michael (Parker) Parker 8db2fc12dc adding community section
Sorry Dane for the config.js mess but it was necessary for now.
2018-11-24 16:03:38 -08:00

309 lines
9.6 KiB
JavaScript

module.exports = {
base: '/',
title: 'Pterodactyl',
description: 'The open-source server management solution.',
ga: 'UA-87324178-1',
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: 'Get Started',
link: '/project/introduction.md',
},
// {
// text: 'API Reference',
// link: '/api/'
// },
{
text: 'Community Guides',
link: '/community/about.md',
},
{
text: 'Get Help',
link: 'https://pterodactyl.io/discord'
}
],
sidebar: {
'/project/': [
{
title: 'Project Information',
collapsable: false,
children: [
'/project/introduction.md',
'/project/about.md',
'/project/terms.md',
]
},
{
title: 'Panel',
collapsable: false,
children: [
'/panel/getting_started',
'/panel/webserver_configuration',
'/panel/upgrading',
'/panel/configuration',
'/panel/troubleshooting',
]
},
{
title: 'Daemon',
collapsable: false,
children: [
'/daemon/installing',
'/daemon/upgrading',
'/daemon/configuration',
'/daemon/kernel_modifications',
'/daemon/debian_8_docker',
'/daemon/standalone_sftp',
]
},
{
title: 'Tutorials',
collapsable: false,
children: [
'/tutorials/mysql_setup.md',
'/tutorials/creating_ssl_certificates.md',
],
},
{
title: 'Development & Ops',
collapsable: true,
children: [
'/ops/publish_release.md',
],
},
// {
// title: 'API Reference',
// collapsable: true,
// children: [
// '/',
// ]
// }
],
'/panel/': [
{
title: 'Project Information',
collapsable: false,
children: [
'/project/introduction.md',
'/project/about.md',
'/project/terms.md',
]
},
{
title: 'Panel',
collapsable: false,
children: [
'/panel/getting_started',
'/panel/webserver_configuration',
'/panel/upgrading',
'/panel/configuration',
'/panel/troubleshooting',
]
},
{
title: 'Daemon',
collapsable: false,
children: [
'/daemon/installing',
'/daemon/upgrading',
'/daemon/configuration',
'/daemon/kernel_modifications',
'/daemon/debian_8_docker',
]
},
{
title: 'Tutorials',
collapsable: false,
children: [
'/tutorials/mysql_setup.md',
'/tutorials/creating_ssl_certificates.md',
],
},
{
title: 'Development & Ops',
collapsable: true,
children: [
'/ops/publish_release.md',
],
},
// {
// title: 'API Reference',
// collapsable: true,
// children: [
// '/',
// ]
// }
],
'/daemon/': [
{
title: 'Project Information',
collapsable: false,
children: [
'/project/introduction.md',
'/project/about.md',
'/project/terms.md',
]
},
{
title: 'Panel',
collapsable: false,
children: [
'/panel/getting_started',
'/panel/webserver_configuration',
'/panel/upgrading',
'/panel/configuration',
'/panel/troubleshooting',
]
},
{
title: 'Daemon',
collapsable: false,
children: [
'/daemon/installing',
'/daemon/upgrading',
'/daemon/configuration',
'/daemon/kernel_modifications',
'/daemon/debian_8_docker',
]
},
{
title: 'Tutorials',
collapsable: false,
children: [
'/tutorials/mysql_setup.md',
'/tutorials/creating_ssl_certificates.md',
],
},
{
title: 'Development & Ops',
collapsable: true,
children: [
'/ops/publish_release.md',
],
},
// {
// title: 'API Reference',
// collapsable: true,
// children: [
// '/',
// ]
// }
],
'/tutorials/': [
{
title: 'Project Information',
collapsable: false,
children: [
'/project/introduction.md',
'/project/about.md',
'/project/terms.md',
]
},
{
title: 'Panel',
collapsable: false,
children: [
'/panel/getting_started',
'/panel/webserver_configuration',
'/panel/upgrading',
'/panel/configuration',
'/panel/troubleshooting',
]
},
{
title: 'Daemon',
collapsable: false,
children: [
'/daemon/installing',
'/daemon/upgrading',
'/daemon/configuration',
'/daemon/kernel_modifications',
'/daemon/debian_8_docker',
]
},
{
title: 'Tutorials',
collapsable: false,
children: [
'/tutorials/mysql_setup.md',
'/tutorials/creating_ssl_certificates.md',
],
},
{
title: 'Development & Ops',
collapsable: true,
children: [
'/ops/publish_release.md',
],
},
// {
// title: 'API Reference',
// collapsable: true,
// children: [
// '/',
// ]
// }
],
'/community/':[
{
title: 'Community Guides',
collapsable: false,
children: [
'/community/about.md',
]
},
{
title: 'Install Panel',
collapsable: false,
children: [
'/community/install/panel/centos7.md',
'/community/install/panel/ubuntu1804.md',
'/community/install/panel/debian9.md',
]
},
{
title: 'Install Daemon',
collapsable: false,
children: [
'/community/install/daemon/centos7.md',
'/community/install/daemon/ubuntu1804.md',
'/community/install/daemon/debian9.md',
]
},
]
}
},
postcss: {
plugins: [
require('postcss-import'),
require('tailwindcss')('./tailwind.js'),
require('precss'),
require('autoprefixer'),
require('cssnano'),
]
}
};