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