|
| 1 | +import type { DefaultTheme } from 'vitepress' |
| 2 | + |
| 3 | +export const routes: DefaultTheme.SidebarItem[] = [ |
| 4 | + { |
| 5 | + text: 'Getting started', |
| 6 | + base: '/guide/getting-started', |
| 7 | + items: [ |
| 8 | + { |
| 9 | + text: 'Introduction', |
| 10 | + link: '/introduction', |
| 11 | + }, |
| 12 | + { |
| 13 | + text: 'Installation', |
| 14 | + link: '/installation', |
| 15 | + }, |
| 16 | + { |
| 17 | + text: 'Choosing the provider', |
| 18 | + link: '/choose-provider', |
| 19 | + }, |
| 20 | + ], |
| 21 | + }, |
| 22 | + { |
| 23 | + text: 'Application side', |
| 24 | + base: '/guide/application-side', |
| 25 | + items: [ |
| 26 | + { |
| 27 | + text: 'Configuration', |
| 28 | + link: '/configuration', |
| 29 | + }, |
| 30 | + { |
| 31 | + text: 'Session access', |
| 32 | + link: '/session-access', |
| 33 | + }, |
| 34 | + { |
| 35 | + text: 'Protecting pages', |
| 36 | + link: '/protecting-pages', |
| 37 | + }, |
| 38 | + ], |
| 39 | + }, |
| 40 | + { |
| 41 | + text: 'AuthJS Provider', |
| 42 | + base: '/guide/authjs', |
| 43 | + items: [ |
| 44 | + { |
| 45 | + text: 'Quick Start', |
| 46 | + link: '/quick-start', |
| 47 | + }, |
| 48 | + { |
| 49 | + text: 'NuxtAuthHandler', |
| 50 | + link: '/nuxt-auth-handler', |
| 51 | + }, |
| 52 | + { |
| 53 | + text: 'Custom pages', |
| 54 | + link: '/custom-pages', |
| 55 | + }, |
| 56 | + { |
| 57 | + text: 'Session data', |
| 58 | + link: '/session-data', |
| 59 | + }, |
| 60 | + { |
| 61 | + text: 'Server side', |
| 62 | + collapsed: true, |
| 63 | + items: [ |
| 64 | + { text: 'Session access', link: '/server-side/session-access' }, |
| 65 | + { text: 'JWT access', link: '/server-side/jwt-access' }, |
| 66 | + { text: 'Rest API', link: '/server-side/rest-api' }, |
| 67 | + ], |
| 68 | + }, |
| 69 | + ], |
| 70 | + }, |
| 71 | + { |
| 72 | + text: 'Local / Refresh Provider', |
| 73 | + base: '/guide/local', |
| 74 | + items: [ |
| 75 | + { |
| 76 | + text: 'Quick Start', |
| 77 | + link: '/quick-start', |
| 78 | + }, |
| 79 | + { |
| 80 | + text: 'Session data', |
| 81 | + link: '/session-data', |
| 82 | + } |
| 83 | + ], |
| 84 | + }, |
| 85 | + { |
| 86 | + text: 'Advanced', |
| 87 | + base: '/guide/advanced', |
| 88 | + items: [ |
| 89 | + { |
| 90 | + text: 'Deployment', |
| 91 | + collapsed: true, |
| 92 | + items: [ |
| 93 | + { text: 'Self-hosted', link: '/deployment/self-hosted' }, |
| 94 | + { text: 'Vercel', link: '/deployment/vercel' }, |
| 95 | + { text: 'Netlify', link: '/deployment/netlify' }, |
| 96 | + ], |
| 97 | + }, |
| 98 | + { text: 'Caching', link: '/caching' }, |
| 99 | + ], |
| 100 | + }, |
| 101 | +] |
0 commit comments