|
| 1 | +import { defineConfig } from 'vitepress'; |
| 2 | + |
| 3 | +// https://vitepress.dev/reference/site-config |
| 4 | +export default defineConfig({ |
| 5 | + title: 'Lambda Live Debugger', |
| 6 | + description: 'Remote debugging AWS Lambda functions', |
| 7 | + /* prettier-ignore */ |
| 8 | + head: [ |
| 9 | + ['meta', { name: 'robots', content: 'index, follow' }], |
| 10 | + ['meta', { 'http-equiv': 'Content-Type', content: 'text/html; charset=utf-8' }], |
| 11 | + ['meta', { name: 'language', content: 'English' }], |
| 12 | + ['meta', { name: 'revisit-after', content: '1 days' }], |
| 13 | + ['meta', { name: 'author', content: 'Marko (ServerlessLife)' }], |
| 14 | + ['keywords', {}, 'aws, lambda, debugger, serverless, aws-lambda, javascript, typescript, dev-tools, lambda-debugger, aws-cdk, serverless-framework, sls, aws-sam, sam, terraform, local-debugging, cloud-development'], |
| 15 | + ['link', { rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg' }], |
| 16 | + ['link', { rel: 'icon', type: 'image/png', href: '/favicon.png' }], |
| 17 | + ['meta', { property: 'og:type', content: 'website' }], |
| 18 | + ['meta', { property: 'og:locale', content: 'en' }], |
| 19 | + ['meta', { property: 'og:title', content: 'Lambda Live Debugger | Remote debugging AWS Lambda functions' }], |
| 20 | + ['meta', { property: 'og:site_name', content: 'Lambda Live Debugger' }], |
| 21 | + ['meta', { property: 'og:image', content: 'https://lldebugger.com/logo_landscape_light.svg' }], |
| 22 | + ['meta', { property: 'og:url', content: 'https://lldebugger.com/' }], |
| 23 | + |
| 24 | + ['meta', { property: 'twitter:card', content: 'summary' }], |
| 25 | + ['meta', { property: 'twitter:site', content: '@serverlessl' }], |
| 26 | + |
| 27 | + [ |
| 28 | + 'script', |
| 29 | + { async: '', src: 'https://www.googletagmanager.com/gtag/js?id=G-DWK00ZDX76' } |
| 30 | + ], |
| 31 | + [ |
| 32 | + 'script', |
| 33 | + {}, |
| 34 | + `window.dataLayer = window.dataLayer || []; |
| 35 | + function gtag(){dataLayer.push(arguments);} |
| 36 | + gtag('js', new Date()); |
| 37 | + gtag('config', 'G-DWK00ZDX76');` |
| 38 | + ] |
| 39 | + ], |
| 40 | + sitemap: { |
| 41 | + hostname: 'https://www.lldebugger.com', |
| 42 | + }, |
| 43 | + themeConfig: { |
| 44 | + search: { |
| 45 | + provider: 'local', |
| 46 | + }, |
| 47 | + siteTitle: 'Lambda Live Debugger', |
| 48 | + logo: { |
| 49 | + light: '/logo_light.svg', |
| 50 | + dark: '/logo_dark.svg', |
| 51 | + }, |
| 52 | + sidebar: [ |
| 53 | + { |
| 54 | + text: 'Introduction', |
| 55 | + collapsed: false, |
| 56 | + items: [ |
| 57 | + { text: 'Why?', link: '#why' }, |
| 58 | + { text: 'How It Works', link: '#how-it-works' }, |
| 59 | + { text: 'Help and Feedback', link: '#help-and-feedback' }, |
| 60 | + ], |
| 61 | + }, |
| 62 | + { |
| 63 | + text: 'Instructions', |
| 64 | + collapsed: false, |
| 65 | + items: [ |
| 66 | + { text: 'Getting Started', link: '#getting-started' }, |
| 67 | + { text: 'CLI Parameters', link: '#cli-parameters' }, |
| 68 | + { text: 'Configuration file', link: '#configuration-file' }, |
| 69 | + { text: 'Debugging', link: '#debugging' }, |
| 70 | + { text: 'Development Process', link: '#development-process' }, |
| 71 | + ], |
| 72 | + }, |
| 73 | + { |
| 74 | + text: 'Advanced', |
| 75 | + collapsed: false, |
| 76 | + items: [ |
| 77 | + { text: 'Observability Mode', link: '#observability-mode' }, |
| 78 | + { text: 'Monorepo', link: '#monorepo-setup' }, |
| 79 | + { text: 'Removing', link: '#removing' }, |
| 80 | + ], |
| 81 | + }, |
| 82 | + { |
| 83 | + text: 'Frameworks & Custom Setup', |
| 84 | + collapsed: true, |
| 85 | + link: '#aws-cdk-v2', |
| 86 | + items: [ |
| 87 | + { text: 'AWS CDK', link: '#aws-cdk-v2' }, |
| 88 | + { |
| 89 | + text: 'Serverless Framework', |
| 90 | + link: '#serverless-framework-v3-sls', |
| 91 | + }, |
| 92 | + { text: 'SAM', link: '#aws-serverless-application-model-sam' }, |
| 93 | + { text: 'Terraform', link: '#terraform' }, |
| 94 | + { text: 'Custom Setup', link: '#custom-setup' }, |
| 95 | + ], |
| 96 | + }, |
| 97 | + { text: 'Authors and Contributors', link: '#authors' }, |
| 98 | + { text: 'Disclaimer', link: '#disclaimer' }, |
| 99 | + ], |
| 100 | + |
| 101 | + socialLinks: [ |
| 102 | + { |
| 103 | + icon: 'github', |
| 104 | + link: 'https://github.com/ServerlessLife/lambda-live-debugger', |
| 105 | + }, |
| 106 | + ], |
| 107 | + }, |
| 108 | +}); |
0 commit comments