Update the config.js to fix pr/3395

This commit is contained in:
tilalx 2024-01-10 11:06:40 +01:00
parent 96fc6a20bb
commit d19ebf5925

View File

@ -45,39 +45,43 @@ export default defineUserConfig({
], ],
sidebar: { sidebar: {
'/': [ '/': [
{
text: 'Home',
link: '/'
},
{ {
text: 'Guide', text: 'Guide',
children: ['/guide/README.md'], link: '/guide/',
collapsible: true, collapsible: true,
}, },
{ {
text: 'Screenshots', text: 'Screenshots',
children: ['/screenshots/README.md'], link: '/screenshots/',
collapsible: true, collapsible: true,
}, },
{ {
text: 'Setup', text: 'Setup Instructions',
children: ['/setup/README.md'], link: '/setup/',
collapsible: true, collapsible: true,
}, },
{ {
text: 'Advanced Configuration', text: 'Advanced Configuration',
children: ['/advanced-config/README.md'], link: '/advanced-config/',
collapsible: true, collapsible: true,
}, },
{ {
text: 'Upgrading', text: 'Upgrading',
children: ['/upgrading/README.md'], link: '/upgrading/',
collapsible: true, collapsible: true,
}, },
{ {
text: 'Frequently Asked Questions', text: 'Frequently Asked Questions',
children: ['/faq/README.md'], link: '/faq/',
collapsible: true, collapsible: true,
}, },
{ {
text: 'Third Party', text: 'Third Party',
children: ['/third-party/README.md'], link: '/third-party/',
collapsible: true, collapsible: true,
}, },
], ],
@ -85,6 +89,11 @@ export default defineUserConfig({
} }
} }
}), }),
markdown: {
code: {
lineNumbers: false,
},
},
plugins: [ plugins: [
googleAnalyticsPlugin({ googleAnalyticsPlugin({
id: 'UA-99675467-4' id: 'UA-99675467-4'