Skip to content

Commit 23b8361

Browse files
New website
1 parent a54630a commit 23b8361

File tree

11 files changed

+7145
-5366
lines changed

11 files changed

+7145
-5366
lines changed

.github/workflows/vitepress.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Deploy VitePress site to Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
pages: write
12+
id-token: write
13+
14+
concurrency:
15+
group: pages
16+
cancel-in-progress: false
17+
18+
jobs:
19+
build:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v4
24+
with:
25+
fetch-depth: 0 # Not needed if lastUpdated is not enabled
26+
- name: Setup Node
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: 20
30+
cache: npm
31+
- name: Setup Pages
32+
uses: actions/configure-pages@v4
33+
- name: Install dependencies
34+
run: npm ci
35+
- name: Build with VitePress
36+
run: npm run docs:build
37+
- name: Upload artifact
38+
uses: actions/upload-pages-artifact@v3
39+
with:
40+
path: .vitepress/dist
41+
42+
deploy:
43+
environment:
44+
name: github-pages
45+
url: ${{ steps.deployment.outputs.page_url }}
46+
needs: build
47+
runs-on: ubuntu-latest
48+
name: Deploy
49+
steps:
50+
- name: Deploy to GitHub Pages
51+
id: deployment
52+
uses: actions/deploy-pages@v4

.gitignore

100755100644
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
node_modules
22
dist
3-
.lldebugger
3+
.lldebugger
4+
.vitepress/dist
5+
.vitepress/cache

.vitepress/config.mts

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
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+
});

.vitepress/theme/custom.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
:root {
2+
--vp-c-indigo-1: #DC143C;
3+
--vp-c-indigo-2: #DC143C;
4+
--vp-c-indigo-3: #DC143C;
5+
}
6+
7+
.VPDoc .container .aside {
8+
display: none;
9+
}
10+
.pager {
11+
display: none;
12+
}

.vitepress/theme/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import DefaultTheme from "vitepress/theme";
2+
import "./custom.css";
3+
4+
export default DefaultTheme;

0 commit comments

Comments
 (0)