|
1 | | -import {defineConfig} from 'vitepress' |
| 1 | +import { defineConfig } from 'vitepress' |
2 | 2 |
|
3 | 3 | // https://vitepress.dev/reference/site-config |
4 | 4 | export default defineConfig({ |
5 | | - title: "workers-qb", |
6 | | - text: "Zero dependencies Query Builder for Cloudflare Workers", |
| 5 | + title: 'workers-qb', |
| 6 | + text: 'Zero dependencies Query Builder for Cloudflare Workers', |
7 | 7 | cleanUrls: true, |
8 | | - head: [['link', {rel: 'icon', type: "image/png", href: 'https://raw.githubusercontent.com/G4brym/workers-qb/refs/heads/main/docs/assets/logo-icon.png'}]], |
| 8 | + head: [ |
| 9 | + [ |
| 10 | + 'link', |
| 11 | + { |
| 12 | + rel: 'icon', |
| 13 | + type: 'image/png', |
| 14 | + href: 'https://raw.githubusercontent.com/G4brym/workers-qb/refs/heads/main/docs/assets/logo-icon.png', |
| 15 | + }, |
| 16 | + ], |
| 17 | + ], |
9 | 18 | themeConfig: { |
10 | 19 | // https://vitepress.dev/reference/default-theme-config |
11 | 20 | logo: 'https://raw.githubusercontent.com/G4brym/workers-qb/refs/heads/main/docs/assets/logo-icon.png', |
12 | 21 | outline: [2, 3], |
13 | 22 | nav: [ |
14 | | - {text: 'Home', link: '/'}, |
15 | | - {text: 'Docs', link: '/introduction'} |
| 23 | + { text: 'Home', link: '/' }, |
| 24 | + { text: 'Docs', link: '/introduction' }, |
16 | 25 | ], |
17 | 26 | sidebar: [ |
18 | 27 | { |
19 | 28 | text: 'Getting Started', |
20 | 29 | items: [ |
21 | | - {text: 'Introduction', link: '/introduction'}, |
22 | | - {text: 'Basic Queries', link: '/basic-queries'}, |
23 | | - {text: 'Advanced Queries', link: '/advanced-queries'}, |
24 | | - {text: 'Migrations', link: '/migrations'}, |
25 | | - {text: 'Type Checking', link: '/type-check'}, |
26 | | - ] |
| 30 | + { text: 'Introduction', link: '/introduction' }, |
| 31 | + { text: 'Basic Queries', link: '/basic-queries' }, |
| 32 | + { text: 'Advanced Queries', link: '/advanced-queries' }, |
| 33 | + { text: 'Migrations', link: '/migrations' }, |
| 34 | + { text: 'Type Checking', link: '/type-check' }, |
| 35 | + ], |
27 | 36 | }, |
28 | 37 | { |
29 | 38 | text: 'Databases', |
30 | 39 | items: [ |
31 | | - {text: 'D1', link: '/databases/d1'}, |
32 | | - {text: 'Durable Objects', link: '/databases/do'}, |
33 | | - {text: 'PostgreSQL', link: '/databases/postgresql'}, |
34 | | - {text: 'Bring your own', link: '/databases/byodb'}, |
35 | | - ] |
| 40 | + { text: 'D1', link: '/databases/d1' }, |
| 41 | + { text: 'Durable Objects', link: '/databases/do' }, |
| 42 | + { text: 'PostgreSQL', link: '/databases/postgresql' }, |
| 43 | + { text: 'Bring your own', link: '/databases/byodb' }, |
| 44 | + ], |
36 | 45 | }, |
37 | 46 | ], |
38 | 47 | socialLinks: [ |
39 | | - {icon: 'github', link: 'https://github.com/G4brym/workers-qb'}, |
40 | | - {icon: 'x', link: 'https://x.com/G4brym'} |
| 48 | + { icon: 'github', link: 'https://github.com/G4brym/workers-qb' }, |
| 49 | + { icon: 'x', link: 'https://x.com/G4brym' }, |
41 | 50 | ], |
42 | 51 | footer: { |
43 | 52 | message: 'Released under the MIT License.', |
44 | | - copyright: 'Copyright © 2024-present Gabriel Massadas' |
45 | | - } |
46 | | - } |
| 53 | + copyright: 'Copyright © 2024-present Gabriel Massadas', |
| 54 | + }, |
| 55 | + }, |
47 | 56 | }) |
0 commit comments