fix: correct social config syntax for starlight 0.34+
This commit is contained in:
@@ -11,49 +11,28 @@ export default defineConfig({
|
|||||||
dark: './src/assets/logo-dark.svg',
|
dark: './src/assets/logo-dark.svg',
|
||||||
replacesTitle: true,
|
replacesTitle: true,
|
||||||
},
|
},
|
||||||
social: {
|
social: [
|
||||||
github: 'https://github.com/anomalyco/totalrecall',
|
{ icon: 'github', label: 'GitHub', href: 'https://github.com/lotherk/deardiary' },
|
||||||
},
|
],
|
||||||
editLink: {
|
editLink: {
|
||||||
baseUrl: 'https://github.com/anomalyco/totalrecall/edit/main/',
|
baseUrl: 'https://github.com/lotherk/deardiary/edit/main/',
|
||||||
},
|
},
|
||||||
sidebar: [
|
sidebar: [
|
||||||
{
|
{
|
||||||
label: 'Getting Started',
|
label: 'Getting Started',
|
||||||
items: [
|
autogenerate: { directory: 'getting-started' },
|
||||||
{ label: 'Introduction', slug: 'index' },
|
|
||||||
{ label: 'Installation', slug: 'getting-started/installation' },
|
|
||||||
{ label: 'Quick Start', slug: 'getting-started/quick-start' },
|
|
||||||
{ label: 'Configuration', slug: 'getting-started/configuration' },
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Features',
|
label: 'Features',
|
||||||
items: [
|
autogenerate: { directory: 'features' },
|
||||||
{ label: 'Events', slug: 'features/events' },
|
|
||||||
{ label: 'Diary Pages', slug: 'features/diary-pages' },
|
|
||||||
{ label: 'AI Providers', slug: 'features/ai-providers' },
|
|
||||||
{ label: 'Search', slug: 'features/search' },
|
|
||||||
{ label: 'Calendar', slug: 'features/calendar' },
|
|
||||||
{ label: 'Export & Import', slug: 'features/export-import' },
|
|
||||||
{ label: 'Media Uploads', slug: 'features/media' },
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'API Reference',
|
label: 'API Reference',
|
||||||
items: [
|
autogenerate: { directory: 'api' },
|
||||||
{ label: 'Authentication', slug: 'api/authentication' },
|
|
||||||
{ label: 'Events', slug: 'api/events' },
|
|
||||||
{ label: 'Journals', slug: 'api/journals' },
|
|
||||||
{ label: 'Settings', slug: 'api/settings' },
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Deployment',
|
label: 'Deployment',
|
||||||
items: [
|
autogenerate: { directory: 'deployment' },
|
||||||
{ label: 'Docker', slug: 'deployment/docker' },
|
|
||||||
{ label: 'Environment Variables', slug: 'deployment/environment' },
|
|
||||||
],
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
customCss: ['./src/styles/custom.css'],
|
customCss: ['./src/styles/custom.css'],
|
||||||
|
|||||||
Reference in New Issue
Block a user