@@ -3,80 +3,97 @@ import { defineConfig } from 'vitepress'
33export default defineConfig ( {
44 title : 'Nuxt Users' ,
55 description : 'A user authentication module for Nuxt 3 with database support for SQLite and MySQL' ,
6+ head : [
7+ [ 'link' , { rel : 'icon' , href : '/favicon.ico' } ] ,
8+ [ 'link' , { rel : 'stylesheet' , href : '/styles.css' } ] ,
9+ /* [
10+ 'script',
11+ {
12+ async: '',
13+ src: 'https://www.googletagmanager.com/gtag/js?id=G-4WQ5DGB03H',
14+ },
15+ ],
16+ [
17+ 'script',
18+ {},
19+ `window.dataLayer = window.dataLayer || [];
20+ function gtag(){dataLayer.push(arguments);}
21+ gtag('js', new Date());
22+ gtag('config', 'G-4WQ5DGB03H');`,
23+ ], */
24+ ] ,
625 themeConfig : {
26+ // https://vitepress.dev/reference/default-theme-config
27+ search : {
28+ provider : 'local' ,
29+ } ,
30+ logo : '/logo.png' ,
731 nav : [
832 { 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/' }
33+ { text : 'Get Started' , link : '/get-started' } ,
34+ ] ,
35+ sidebar : [
36+ {
37+ items : [
38+ { text : 'Get Started' , link : '/get-started' } ,
39+ {
40+ text : 'Guide' ,
41+ items : [
42+ { text : 'Installation' , link : '/guide/installation' } ,
43+ { text : 'Quick Start' , link : '/guide/quick-start' } ,
44+ { text : 'Configuration' , link : '/guide/configuration' } ,
45+ { text : 'Authentication' , link : '/guide/authentication' } ,
46+ { text : 'Password Reset' , link : '/guide/password-reset' } ,
47+ { text : 'Database Setup' , link : '/guide/database-setup' }
48+ ]
49+ } ,
50+ {
51+ text : 'API Reference' ,
52+ items : [
53+ { text : 'Login' , link : '/api/login' } ,
54+ { text : 'Password Reset' , link : '/api/password-reset' }
55+ ]
56+ } ,
57+ {
58+ text : 'Components' ,
59+ items : [
60+ { text : 'LoginForm' , link : '/components/login-form' } ,
61+ { text : 'ForgotPasswordForm' , link : '/components/forgot-password-form' } ,
62+ { text : 'ResetPasswordForm' , link : '/components/reset-password-form' }
63+ ]
64+ } ,
65+ {
66+ text : 'Database' ,
67+ items : [
68+ { text : 'Schema' , link : '/database/schema' } ,
69+ { text : 'Migrations' , link : '/database/migrations' } ,
70+ { text : 'CLI Commands' , link : '/database/cli-commands' }
71+ ]
72+ } ,
73+ {
74+ text : 'Contributing' ,
75+ items : [
76+ { text : 'Development Setup' , link : '/contributing/development-setup' } ,
77+ { text : 'Running Tests' , link : '/contributing/running-tests' } ,
78+ { text : 'Guidelines' , link : '/contributing/guidelines' }
79+ ]
80+ }
81+ ]
82+ }
1483 ] ,
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- } ,
7484 socialLinks : [
7585 { icon : 'github' , link : 'https://github.com/your-org/nuxt-users' }
7686 ] ,
7787 footer : {
7888 message : 'Released under the MIT License.' ,
7989 copyright : 'Copyright © 2024-present'
8090 }
81- }
91+ } ,
92+ markdown : {
93+ theme : {
94+ light : 'vitesse-light' ,
95+ dark : 'vitesse-dark' ,
96+ } ,
97+ lineNumbers : true ,
98+ } ,
8299} )
0 commit comments