koel/docs/.vitepress/config.mts
2024-07-06 17:44:51 +02:00

92 lines
2.6 KiB
TypeScript

import { defineConfig } from 'vitepress'
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "Koel",
description: "The official documentation for Koel, the music streaming solution that works",
head: [
[
'script',
{
defer: 'defer',
src: 'https://app.lemonsqueezy.com/js/lemon.js'
}
],
['link', { rel: 'icon', href: '/favicon.png', type: 'image/x-png' }]
],
cleanUrls: true,
markdown: {
linkify: false,
image: {
lazyLoading: true
}
},
themeConfig: {
outline: {
level: 'deep'
},
logo: '/logo.svg',
logoLink: '/guide/what-is-koel',
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: 'Home', link: 'https://koel.dev' },
{ text: 'Getting Started', link: '/guide/getting-started' },
{ text: 'Koel Plus', link: '/plus/what-is-koel-plus' },
],
sidebar: [
{
text: 'Introduction',
items: [
{ text: 'What is Koel?', link: '/guide/what-is-koel' },
{ text: 'Getting Started', link: '/guide/getting-started' },
]
},
{
text: 'Usage',
items: [
{ text: 'Music Discovery', link: '/usage/music-discovery' },
{ text: 'Streaming Music', link: '/usage/streaming' },
{ text: 'Using the Web Interface', link: '/usage/web-interface' },
{ text: 'Instant Search', link: '/usage/search' },
{ text: 'Themes', link: '/usage/themes' },
{ text: 'Artist, Album, & Playlist Arts', link: '/usage/artist-album-playlist-arts' },
{ text: 'User Management', link: '/usage/user-management' },
{ text: 'Profile & Preferences', link: '/usage/profile-preferences' },
{ text: 'Remote Controller', link: '/usage/remote-controller' },
]
},
{
text: 'Koel Plus',
items: [
{ text: 'What is Koel Plus?', link: '/plus/what-is-koel-plus' },
{ text: 'Purchase & Activation', link: '/plus/purchase-activation' },
{ text: 'Storage Support', link: '/plus/storage-support' },
{ text: 'Collaboration', link: '/plus/collaboration' },
]
},
{
text: 'Service Integrations',
link: '/service-integrations.md'
},
{
text: 'Mobile Apps',
link: '/mobile-apps'
},
{
text: 'CLI Commands',
link: '/cli-commands'
},
{
text: 'Local Development',
link: '/development'
}
],
socialLinks: [
{ icon: 'github', link: 'https://github.com/koel/koel' }
]
}
})