|
| 1 | +import { defineConfig } from 'vitepress' |
| 2 | + |
| 3 | +export default defineConfig({ |
| 4 | + title: 'Nuxt Users', |
| 5 | + description: 'A user authentication module for Nuxt 3 with database support for SQLite and MySQL', |
| 6 | + themeConfig: { |
| 7 | + nav: [ |
| 8 | + { text: 'Home', link: '/' }, |
| 9 | + { text: 'Guide', link: '/guide/' }, |
| 10 | + { text: 'API', link: '/api/' }, |
| 11 | + { text: 'Components', link: '/components/' }, |
| 12 | + { text: 'Database', link: '/database/' }, |
| 13 | + { text: 'Contributing', link: '/contributing/' } |
| 14 | + ], |
| 15 | + sidebar: { |
| 16 | + '/guide/': [ |
| 17 | + { |
| 18 | + text: 'Getting Started', |
| 19 | + items: [ |
| 20 | + { text: 'Installation', link: '/guide/installation' }, |
| 21 | + { text: 'Quick Start', link: '/guide/quick-start' }, |
| 22 | + { text: 'Configuration', link: '/guide/configuration' } |
| 23 | + ] |
| 24 | + }, |
| 25 | + { |
| 26 | + text: 'Features', |
| 27 | + items: [ |
| 28 | + { text: 'Authentication', link: '/guide/authentication' }, |
| 29 | + { text: 'Password Reset', link: '/guide/password-reset' }, |
| 30 | + { text: 'Database Setup', link: '/guide/database-setup' } |
| 31 | + ] |
| 32 | + } |
| 33 | + ], |
| 34 | + '/api/': [ |
| 35 | + { |
| 36 | + text: 'API Reference', |
| 37 | + items: [ |
| 38 | + { text: 'Login', link: '/api/login' }, |
| 39 | + { text: 'Password Reset', link: '/api/password-reset' } |
| 40 | + ] |
| 41 | + } |
| 42 | + ], |
| 43 | + '/components/': [ |
| 44 | + { |
| 45 | + text: 'Components', |
| 46 | + items: [ |
| 47 | + { text: 'LoginForm', link: '/components/login-form' }, |
| 48 | + { text: 'ForgotPasswordForm', link: '/components/forgot-password-form' }, |
| 49 | + { text: 'ResetPasswordForm', link: '/components/reset-password-form' } |
| 50 | + ] |
| 51 | + } |
| 52 | + ], |
| 53 | + '/database/': [ |
| 54 | + { |
| 55 | + text: 'Database', |
| 56 | + items: [ |
| 57 | + { text: 'Schema', link: '/database/schema' }, |
| 58 | + { text: 'Migrations', link: '/database/migrations' }, |
| 59 | + { text: 'CLI Commands', link: '/database/cli-commands' } |
| 60 | + ] |
| 61 | + } |
| 62 | + ], |
| 63 | + '/contributing/': [ |
| 64 | + { |
| 65 | + text: 'Contributing', |
| 66 | + items: [ |
| 67 | + { text: 'Development Setup', link: '/contributing/development-setup' }, |
| 68 | + { text: 'Running Tests', link: '/contributing/running-tests' }, |
| 69 | + { text: 'Guidelines', link: '/contributing/guidelines' } |
| 70 | + ] |
| 71 | + } |
| 72 | + ] |
| 73 | + }, |
| 74 | + socialLinks: [ |
| 75 | + { icon: 'github', link: 'https://github.com/your-org/nuxt-users' } |
| 76 | + ], |
| 77 | + footer: { |
| 78 | + message: 'Released under the MIT License.', |
| 79 | + copyright: 'Copyright © 2024-present' |
| 80 | + } |
| 81 | + } |
| 82 | +}) |
0 commit comments