|
| 1 | +import { defineConfig } from 'vitepress'; |
| 2 | + |
| 3 | +// https://vitepress.dev/reference/site-config |
| 4 | +export default defineConfig({ |
| 5 | + title: 'Golevelup Documentation', |
| 6 | + description: |
| 7 | + 'A collection of badass modules and utilities to help you level up your NestJS applications', |
| 8 | + base: '/nestjs/', |
| 9 | + themeConfig: { |
| 10 | + // https://vitepress.dev/reference/default-theme-config |
| 11 | + nav: [ |
| 12 | + { text: 'Home', link: '/' }, |
| 13 | + { text: 'Documentation', link: '/what-is-golevelup-nestjs' }, |
| 14 | + ], |
| 15 | + |
| 16 | + sidebar: [ |
| 17 | + { |
| 18 | + text: 'Introduction', |
| 19 | + items: [ |
| 20 | + { |
| 21 | + text: 'What is @golevelup/nestjs?', |
| 22 | + link: '/what-is-golevelup-nestjs', |
| 23 | + }, |
| 24 | + ], |
| 25 | + }, |
| 26 | + { |
| 27 | + text: 'Modules', |
| 28 | + items: [ |
| 29 | + { |
| 30 | + text: 'Hasura', |
| 31 | + link: '/modules/hasura', |
| 32 | + }, |
| 33 | + { |
| 34 | + text: 'RabbitMQ', |
| 35 | + link: '/modules/rabbitmq', |
| 36 | + }, |
| 37 | + { |
| 38 | + text: 'Stripe', |
| 39 | + link: '/modules/stripe', |
| 40 | + }, |
| 41 | + ], |
| 42 | + }, |
| 43 | + { |
| 44 | + text: 'Utilities', |
| 45 | + items: [ |
| 46 | + { |
| 47 | + text: 'Discovery', |
| 48 | + link: '/discovery', |
| 49 | + }, |
| 50 | + { |
| 51 | + text: 'GraphQL Request', |
| 52 | + link: '/graphql-request', |
| 53 | + }, |
| 54 | + { |
| 55 | + text: 'Common', |
| 56 | + link: '/common', |
| 57 | + }, |
| 58 | + { |
| 59 | + text: 'Modules', |
| 60 | + link: '/modules', |
| 61 | + }, |
| 62 | + { |
| 63 | + text: 'Webhooks', |
| 64 | + link: '/webhooks', |
| 65 | + }, |
| 66 | + ], |
| 67 | + }, |
| 68 | + { |
| 69 | + text: 'Testing', |
| 70 | + items: [ |
| 71 | + { |
| 72 | + text: 'Jest', |
| 73 | + link: '/testing/ts-jest', |
| 74 | + }, |
| 75 | + { |
| 76 | + text: 'Sinon', |
| 77 | + link: '/testing/ts-sinon', |
| 78 | + }, |
| 79 | + { |
| 80 | + text: 'Vitest', |
| 81 | + link: '/testing/ts-vitest', |
| 82 | + }, |
| 83 | + ], |
| 84 | + }, |
| 85 | + { |
| 86 | + text: 'Contributing', |
| 87 | + link: '/contributing', |
| 88 | + }, |
| 89 | + ], |
| 90 | + |
| 91 | + socialLinks: [ |
| 92 | + { icon: 'github', link: 'https://github.com/golevelup/nestjs' }, |
| 93 | + ], |
| 94 | + }, |
| 95 | +}); |
0 commit comments