Skip to content

Commit 3ceefec

Browse files
committed
Add forge-deno.com documentation website
- Astro 5 + Starlight 0.30 static site with custom landing page - Marketing homepage with hero, features, code examples, comparison - Documentation pages for getting started, architecture, and API reference - GitHub Pages deployment workflow - Official Deno logo in hero section - Tailwind CSS styling with dark theme
1 parent 3befe6a commit 3ceefec

40 files changed

Lines changed: 12739 additions & 5 deletions

‎.github/workflows/deploy-site.yml‎

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

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ jobs:
249249
250250
```bash
251251
# macOS/Linux
252-
curl -fsSL https://get.forge.dev/install.sh | sh
252+
curl -fsSL https://get.forge-deno.com/install.sh | sh
253253
254254
# Or download manually and extract
255255
tar -xzf forge-x86_64-unknown-linux-gnu.tar.gz -C ~/.forge/bin

‎.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,4 @@ coverage/
4747
tmp/
4848
temp/
4949
*.tmp
50+
site/node_modules

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Forge is an Electron-like desktop application framework using **Rust** and **Den
2020
### Quick Install (macOS/Linux)
2121

2222
```bash
23-
curl -fsSL https://get.forge.dev/install.sh | sh
23+
curl -fsSL https://get.forge-deno.com/install.sh | sh
2424
```
2525

2626
### Manual Download

‎crates/forge/src/main.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ fn find_forge_host() -> Result<PathBuf> {
8080
bail!(
8181
"forge-host not found!\n\n\
8282
Install Forge with:\n \
83-
curl -fsSL https://get.forge.dev/install.sh | sh\n\n\
83+
curl -fsSL https://get.forge-deno.com/install.sh | sh\n\n\
8484
Or for development:\n \
8585
cargo build -p forge-host"
8686
)

‎docs/getting-started.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,4 +276,4 @@ Check out the example apps in the `apps/` directory:
276276
## Getting Help
277277

278278
- GitHub Issues: [github.com/LayerDynamics/forge/issues](https://github.com/LayerDynamics/forge/issues)
279-
- Documentation: [forge.dev/docs](https://forge.dev/docs)
279+
- Documentation: [forge-deno.com/docs](https://forge-deno.com/docs)

‎scripts/install.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22
# Forge Installation Script
3-
# Usage: curl -fsSL https://get.forge.dev/install.sh | sh
3+
# Usage: curl -fsSL https://get.forge-deno.com/install.sh | sh
44
#
55
# Environment variables:
66
# FORGE_VERSION - Version to install (default: latest)

0 commit comments

Comments
 (0)