-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathconfig.mts
More file actions
42 lines (41 loc) · 1.2 KB
/
config.mts
File metadata and controls
42 lines (41 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import { defineConfig } from 'vitepress'
import { routes as navRoutes } from './routes/navbar'
import { routes as sidebarRoutes } from './routes/sidebar'
import { headConfig, sitemapConfig } from './head'
// https://vitepress.dev/reference/site-config
export default defineConfig({
title: 'sidebase',
titleTemplate: ':title - by SIDESTREAM',
description: 'The productive way to build fullstack Nuxt 3+ applications.',
srcDir: 'src',
base: '/',
cleanUrls: true,
lang: 'en-US',
appearance: 'dark',
lastUpdated: true,
sitemap: {
...sitemapConfig,
transformItems: items => items.filter(({ url }) => !url.startsWith('nuxt-auth'))
},
head: headConfig,
themeConfig: {
logo: {
light: '/logo-light.svg',
dark: '/logo-dark.svg'
},
nav: navRoutes,
sidebar: sidebarRoutes,
socialLinks: [
{ icon: 'github', link: 'https://github.com/sidebase' },
{ icon: 'x', link: 'https://twitter.com/sidebase_io' },
{ icon: 'discord', link: 'https://discord.gg/VzABbVsqAc' },
],
search: {
provider: 'local',
},
editLink: {
pattern: 'https://github.com/sidebase/docs/tree/main/src/:path',
text: 'Edit this page on GitHub'
}
},
})