Files
jellyfin.org/docusaurus.config.js
T

157 lines
3.9 KiB
JavaScript
Raw Normal View History

2021-05-06 09:16:19 +02:00
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: 'Jellyfin',
tagline: 'The Free Software Media System',
2021-05-08 06:11:42 +02:00
url: 'http://next.jellyfin.org',
2021-05-06 09:16:19 +02:00
baseUrl: '/',
2021-06-13 10:07:40 +02:00
onBrokenLinks: 'warn',
2021-05-06 09:16:19 +02:00
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'jellyfin',
projectName: 'jellyfin.org',
2021-05-06 09:16:19 +02:00
themeConfig: {
2021-05-08 06:02:33 +02:00
image: 'img/social.png',
2021-07-23 18:07:35 +02:00
announcementBar: {
id: 'work_in_progress', // Any value that will identify this message.
content:
'This new version of Jellyfin.org is currently being built. <a target="_blank" rel="noopener noreferrer" href="https://github.com/jellyfin/jellyfin.org">Get involved!</a>',
backgroundColor: '#b71c1c',
textColor: '#ffffff',
isCloseable: false
},
2021-05-08 06:02:33 +02:00
metadatas: [
{ name: 'og:type', content: 'website' },
{ name: 'twitter:card', content: 'summary_large_image' },
{ name: 'twitter:site', content: '@jellyfin' }
],
2021-05-06 14:34:40 +02:00
colorMode: {
defaultMode: 'light',
disableSwitch: true,
respectPrefersColorScheme: false
},
2021-05-06 09:16:19 +02:00
navbar: {
logo: {
2021-05-06 14:34:40 +02:00
alt: 'Jellyfin logo',
2021-06-13 10:07:40 +02:00
src: 'img/logo.svg'
2021-05-06 09:16:19 +02:00
},
items: [
2021-05-08 22:46:21 +02:00
{
to: 'features',
label: 'Features',
2021-06-13 10:07:40 +02:00
position: 'right'
2021-05-08 22:46:21 +02:00
},
2021-05-06 09:16:19 +02:00
{
2021-05-06 15:01:16 +02:00
to: 'clients',
label: 'Clients',
2021-06-13 10:07:40 +02:00
position: 'right'
2021-05-06 09:16:19 +02:00
},
2021-05-08 22:46:21 +02:00
{
to: 'plugins',
label: 'Plugins',
2021-06-13 10:07:40 +02:00
position: 'right'
2021-05-08 22:46:21 +02:00
},
2021-05-06 09:16:19 +02:00
{
2021-05-06 15:01:16 +02:00
to: 'downloads',
label: 'Downloads',
2021-06-13 10:07:40 +02:00
position: 'right'
2021-05-06 14:34:40 +02:00
},
{
2021-05-06 15:01:16 +02:00
to: 'contribute',
label: 'Contribute',
2021-06-13 10:07:40 +02:00
position: 'right'
2021-05-06 14:34:40 +02:00
},
2021-05-08 22:46:21 +02:00
{ to: 'blog', label: 'Blog', position: 'right' },
2021-05-06 14:34:40 +02:00
{
2021-05-06 14:46:55 +02:00
type: 'doc',
2021-05-08 22:46:21 +02:00
docId: 'getting-started',
2021-05-06 15:01:16 +02:00
label: 'Documentation',
2021-06-13 10:07:40 +02:00
position: 'right'
2021-05-06 14:34:40 +02:00
},
{
2021-05-06 15:01:16 +02:00
to: 'contact',
label: 'Contact',
2021-06-13 10:07:40 +02:00
position: 'right'
}
]
2021-05-06 09:16:19 +02:00
},
footer: {
links: [
{
2021-05-06 15:01:16 +02:00
title: 'Docs',
2021-05-06 09:16:19 +02:00
items: [
{
2021-05-06 15:01:16 +02:00
label: 'Getting Started',
2021-06-13 10:07:40 +02:00
to: '/docs/getting-started'
2021-05-06 14:34:40 +02:00
},
{
2021-05-06 15:01:16 +02:00
label: 'Developer Documentation',
2021-06-13 10:07:40 +02:00
href: 'https://developer.jellyfin.org'
}
]
2021-05-06 09:16:19 +02:00
},
{
2021-05-06 15:01:16 +02:00
title: 'Community',
2021-05-06 09:16:19 +02:00
items: [
2021-05-08 22:46:21 +02:00
{
label: 'Community Standards',
2021-06-13 10:07:40 +02:00
to: 'community-standards'
2021-05-08 22:46:21 +02:00
},
2021-05-06 09:16:19 +02:00
{
2021-05-06 15:01:16 +02:00
label: 'Matrix',
2021-06-13 10:07:40 +02:00
href: 'https://matrix.to/#/+jellyfin:matrix.org'
2021-05-06 09:16:19 +02:00
},
{
2021-05-06 15:01:16 +02:00
label: 'Discord',
2021-06-13 10:07:40 +02:00
href: 'https://discord.gg/zHBxVSXdBV'
2021-05-06 09:16:19 +02:00
},
{
2021-05-06 15:01:16 +02:00
label: 'Reddit',
2021-06-13 10:07:40 +02:00
href: 'https://reddit.com/r/jellyfin'
}
]
2021-05-06 09:16:19 +02:00
},
{
2021-05-06 15:01:16 +02:00
title: 'More',
2021-05-06 09:16:19 +02:00
items: [
2021-05-08 22:46:21 +02:00
{
label: 'Getting Help',
2021-06-13 10:07:40 +02:00
to: 'getting-help'
2021-05-08 22:46:21 +02:00
},
2021-05-06 09:16:19 +02:00
{
2021-05-06 15:01:16 +02:00
label: 'Blog',
2021-06-13 10:07:40 +02:00
to: 'blog'
2021-05-06 09:16:19 +02:00
},
2021-05-08 22:46:21 +02:00
{
label: 'FAQ',
2021-06-13 10:07:40 +02:00
to: 'faq'
2021-05-08 22:46:21 +02:00
},
2021-05-06 09:16:19 +02:00
{
2021-05-06 15:01:16 +02:00
label: 'Check us out on GitHub',
2021-06-13 10:07:40 +02:00
href: 'https://github.com/jellyfin'
}
]
}
2021-05-06 09:16:19 +02:00
],
2021-06-13 10:07:40 +02:00
copyright: `Site content is licensed <a href='http://creativecommons.org/licenses/by-nd/4.0/'>CC-BY-ND-4.0</a>`
}
2021-05-06 09:16:19 +02:00
},
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
// Please change this to your repo.
2021-06-13 10:07:40 +02:00
editUrl: 'https://github.com/jellyfin/jellyfin.org/edit/master/'
2021-05-06 09:16:19 +02:00
},
blog: {
2021-06-13 10:07:40 +02:00
showReadingTime: true
2021-05-06 09:16:19 +02:00
},
theme: {
2021-06-13 10:07:40 +02:00
customCss: require.resolve('./src/css/custom.css')
}
}
]
]
2021-05-06 09:16:19 +02:00
};