Skip to content

Commit d016362

Browse files
committed
chore(site): fix 404s
1 parent f11447d commit d016362

File tree

9 files changed

+60
-6
lines changed

9 files changed

+60
-6
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ frontend/node_modules/
4646
frontend/.tanstack
4747

4848
# Site
49+
site/out/
4950
site/.next/
5051
site/src/generated/
5152
site/public/docs/

site/lychee.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ exclude = [
44
'^https://hub\.rivet\.gg/.*',
55
'^https://.*\.rivet\.game/',
66
'^https://ph\.rivet\.gg/',
7+
'^https://studio\.rivet\.dev/',
78

89
# Strict rate limits
910
'^https://www\.cloudflare\.com/learning/',
@@ -15,7 +16,7 @@ exclude = [
1516
'@body\.json',
1617

1718
# Bug parsing `src={xxxx}`
18-
'%7B.*%7D$'
19+
'%7B.*%7D$',
1920
]
2021
# exclude_all_private = true
2122
exclude_mail = true

site/public/llms-full.txt

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

site/public/llms.txt

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

site/scripts/build-serve.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash
2+
set -euo pipefail
3+
4+
PORT=${PORT:-3000}
5+
6+
# Build the site
7+
echo "Building static site..."
8+
pnpm build
9+
10+
# Check if build succeeded
11+
if [ ! -d "out" ]; then
12+
echo "Error: Build failed. The 'out' directory was not created."
13+
exit 1
14+
fi
15+
16+
# Serve the site
17+
echo "Starting server on port $PORT..."
18+
cd out && python3 -m http.server $PORT

site/scripts/check-links.sh

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
#!/bin/bash
2+
set -euo pipefail
3+
4+
URL=${1:-http://localhost:3000}
5+
6+
# Check if lychee is installed
7+
if ! command -v lychee &> /dev/null; then
8+
echo "Error: lychee is not installed."
9+
echo "Install with: brew install lychee"
10+
exit 1
11+
fi
12+
13+
# Wait for server to be ready
14+
echo "Checking if server is running at $URL..."
15+
for i in {1..10}; do
16+
if curl -s -o /dev/null "$URL"; then
17+
echo "Server is ready."
18+
break
19+
fi
20+
if [ $i -eq 10 ]; then
21+
echo "Error: Server is not responding at $URL"
22+
echo "Run: ./scripts/build-serve.sh"
23+
exit 1
24+
fi
25+
sleep 2
26+
done
27+
28+
# Run lychee
29+
echo "Running link checker..."
30+
lychee --config lychee.toml "$URL"

site/src/app/(v2)/(marketing)/(index)/sections/FeaturesSection.tsx

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

site/src/app/(v2)/(marketing)/(index)/sections/TechSection.tsx

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

site/src/posts/2025-03-23-what-would-a-w3c-standard-look-like-for-stateful-serverless-/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Purely theorizing: a standard for stateful serverless might provide the foundati
164164

165165
I'm the founder of Rivet and have a vested interest in seeing stateful serverless become a standard. Rivet provides an open-source stateful serverless platform that can be easily self-hosted.
166166

167-
We also provide a handful of features in our runtime that don't make sense to be part of a standard, since the best W3C standards build on existing web standards: [Docker containers for non-JavaScript applications](https://rivet.dev/docs/cloud/containers), [HTTP, UDP, and TCP support](https://rivet.dev/docs/cloud/networking), [advanced lifecycle management](https://rivet.dev/docs/cloud/durability), [actor tagging](https://rivet.dev/docs/cloud/api/actors/create) for advanced multi-tenant applications, [advanced control over actor upgrades](https://rivet.dev/docs/cloud/api/actors/upgrade-all) for companies with specific use cases, [fine-grained control over where your actor is running](https://rivet.dev/docs/cloud/api/regions/list), and a developer-friendly REST API for managing Rivet Actors.
167+
We also provide a handful of features in our runtime that don't make sense to be part of a standard, since the best W3C standards build on existing web standards: [Docker containers for non-JavaScript applications](https://rivet.dev/docs/cloud/containers), [HTTP, UDP, and TCP support](https://rivet.dev/docs/cloud/networking), [advanced lifecycle management](https://rivet.dev/docs/cloud-ee/durability), [actor tagging](https://rivet.dev/docs/cloud/api/actors/create) for advanced multi-tenant applications, [advanced control over actor upgrades](https://rivet.dev/docs/cloud/api/actors/upgrade-all) for companies with specific use cases, [fine-grained control over where your actor is running](https://rivet.dev/docs/cloud/api/regions/list), and a developer-friendly REST API for managing Rivet Actors.
168168

169169
We encourage developers building on Rivet to use [RivetKit](https://github.com/rivet-dev/rivetkit). However, we also provide a [low-level API](https://rivet.dev/docs/cloud/actors) for defining actors:
170170

0 commit comments

Comments
 (0)