Files
jellyfin.org/docusaurus.config.js
T

125 lines
3.0 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-07 05:36:28 +02:00
url: 'https://next.jellyfin.org/',
2021-05-06 09:16:19 +02:00
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'jellyfin',
projectName: 'jellyfin.org',
2021-05-06 09:16:19 +02:00
themeConfig: {
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-05-06 09:16:19 +02:00
src: 'img/logo.svg',
},
items: [
2021-05-06 15:01:16 +02:00
{ to: 'blog', label: 'Blog', position: 'right' },
2021-05-06 09:16:19 +02:00
{
2021-05-06 15:01:16 +02:00
to: 'clients',
label: 'Clients',
position: 'right',
2021-05-06 09:16:19 +02:00
},
{
2021-05-06 15:01:16 +02:00
to: 'downloads',
label: 'Downloads',
position: 'right',
2021-05-06 14:34:40 +02:00
},
{
2021-05-06 15:01:16 +02:00
to: 'contribute',
label: 'Contribute',
position: 'right',
2021-05-06 14:34:40 +02:00
},
{
2021-05-06 14:46:55 +02:00
type: 'doc',
docId: 'intro',
2021-05-06 15:01:16 +02:00
label: 'Documentation',
position: 'right',
2021-05-06 14:34:40 +02:00
},
{
2021-05-06 15:01:16 +02:00
to: 'contact',
label: 'Contact',
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',
to: '/docs/intro',
2021-05-06 14:34:40 +02:00
},
{
2021-05-06 15:01:16 +02:00
label: 'Developer Documentation',
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-06 15:01:16 +02:00
label: 'Matrix',
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',
href: 'https://discord.gg/zHBxVSXdBV',
2021-05-06 09:16:19 +02:00
},
{
2021-05-06 15:01:16 +02:00
label: 'Reddit',
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-06 15:01:16 +02:00
label: 'Blog',
to: 'blog',
2021-05-06 09:16:19 +02:00
},
{
2021-05-06 15:01:16 +02:00
label: 'Check us out on GitHub',
href: 'https://github.com/jellyfin',
2021-05-06 09:16:19 +02:00
},
],
},
],
2021-05-06 15:01:16 +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.
editUrl:
'https://github.com/facebook/docusaurus/edit/master/website/',
},
blog: {
showReadingTime: true,
// Please change this to your repo.
editUrl:
'https://github.com/facebook/docusaurus/edit/master/website/blog/',
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
},
},
],
],
};