67 lines
2.4 KiB
TypeScript
67 lines
2.4 KiB
TypeScript
import { defineConfig } from 'vitepress'
|
|
|
|
export default defineConfig({
|
|
title: 'Funkwhale Vue Components',
|
|
cleanUrls: true,
|
|
cacheDir: './.vitepress/.vite',
|
|
themeConfig: {
|
|
nav: [
|
|
{ text: 'Home', link: 'https://funkwhale.audio' },
|
|
{ text: 'Gitlab', link: 'https://dev.funkwhale.audio/funkwhale/ui' },
|
|
],
|
|
sidebar: [
|
|
{
|
|
text: 'Components',
|
|
items: [
|
|
{ text: 'Activity', link: '/components/ui/activity' },
|
|
{ text: 'Alert', link: '/components/ui/alert' },
|
|
{
|
|
text: 'Card', link: '/components/ui/card',
|
|
items: [
|
|
{ text: 'Album Card', link: '/components/ui/card/album' },
|
|
{ text: 'Artist Card', link: '/components/ui/card/artist' },
|
|
{ text: 'Playlist Card', link: '/components/ui/card/playlist' },
|
|
{ text: 'Podcast Card', link: '/components/ui/card/podcast' },
|
|
{ text: 'Radio Card', link: '/components/ui/card/radio' },
|
|
],
|
|
},
|
|
{
|
|
text: 'Content Navigation',
|
|
items: [
|
|
{ text: 'Pagination', link: '/components/ui/pagination' },
|
|
{ text: 'Table of Contents', link: '/components/ui/toc' },
|
|
{ text: 'Tabs', link: '/components/ui/tabs' },
|
|
],
|
|
},
|
|
{
|
|
text: 'Form',
|
|
items: [
|
|
{
|
|
text: 'Button', link: '/components/ui/button',
|
|
items: [
|
|
{ text: 'Options Button', link: '/components/ui/button/options' },
|
|
{ text: 'Play Button', link: '/components/ui/button/play' },
|
|
],
|
|
},
|
|
{ text: 'Input', link: '/components/ui/input' },
|
|
{ text: 'Popover', link: '/components/ui/popover' },
|
|
{ text: 'Textarea', link: '/components/ui/textarea' },
|
|
{ text: 'Toggle', link: '/components/ui/toggle' },
|
|
],
|
|
},
|
|
{
|
|
text: 'Layout', link: '/components/ui/layout/',
|
|
items: [{ text: "Spacer", link: "../../src/components/ui/layout/spacer" }]
|
|
},
|
|
{ text: 'Loader', link: '/components/ui/loader' },
|
|
{ text: 'Modal', link: '/components/ui/modal' },
|
|
{ text: 'Pill', link: '/components/ui/pill' },
|
|
],
|
|
},
|
|
],
|
|
search: {
|
|
provider: 'local',
|
|
},
|
|
},
|
|
})
|