Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
Move demo assets to separate repository for CDN distribution
Maximilian Roosf69599d24fdf
diff --git a/.config/lychee.toml b/.config/lychee.tomlindex ec016f9ad..2c56b43a7 100644--- a/.config/lychee.toml+++ b/.config/lychee.toml@@ -41,6 +41,10 @@ exclude = [# Local build artifacts (not checked into git)"wt-demo/out/wt-demo\\.gif",++ # Local dev server URLs (not running during CI)+ "127\\.0\\.0\\.1",+ "localhost",]# Exclude files with relative paths intended for different locationsdiff --git a/docs/.gitignore b/docs/.gitignoreindex 364fdec1a..de73cb36a 100644--- a/docs/.gitignore+++ b/docs/.gitignore@@ -1 +1,2 @@public/+static/assets/diff --git a/docs/CLAUDE.md b/docs/CLAUDE.mdindex d386a8742..657dcc3b1 100644--- a/docs/CLAUDE.md+++ b/docs/CLAUDE.md@@ -2,14 +2,21 @@## Demo GIF workflow-See `dev/wt-demo/CLAUDE.md` for the full workflow. Quick reference:+**For local development**, fetch existing assets from the CDN:```bash-./dev/wt-demo-build # Build (auto-copies to docs/static/assets/)-# View at http://127.0.0.1:1111/why-worktrunk/+./scripts/fetch-assets # Download assets for local dev+```++**To update demos**, see `dev/wt-demo/CLAUDE.md` for the full workflow:++```bash+./dev/wt-demo-build # Build new demo (auto-copies to docs/static/assets/)./scripts/publish-assets # Publish to assets repo```+View at http://127.0.0.1:1111/why-worktrunk/+---This is an initial scaffolding of the documentation site. The content was auto-generated from the main README and has not been reviewed for accuracy.diff --git a/docs/static/wt-demo.gif b/docs/static/wt-demo.gifdeleted file mode 100644index 47039f660..000000000Binary files a/docs/static/wt-demo.gif and /dev/null differdiff --git a/scripts/fetch-assets b/scripts/fetch-assetsnew file mode 100755index 000000000..48bb920fd--- /dev/null+++ b/scripts/fetch-assets@@ -0,0 +1,19 @@+#!/bin/bash+# Fetch demo assets from worktrunk-assets repo for local development+set -euo pipefail++SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"+REPO_ROOT="$(dirname "$SCRIPT_DIR")"+ASSETS_DIR="$REPO_ROOT/docs/static/assets"++mkdir -p "$ASSETS_DIR"++echo "Fetching demo assets..."+for file in $(curl -fsSL https://api.github.com/repos/max-sixty/worktrunk-assets/contents/demos \+ | jq -r '.[].name'); do+ echo " $file"+ curl -fsSL -o "$ASSETS_DIR/$file" \+ "https://raw.githubusercontent.com/max-sixty/worktrunk-assets/main/demos/$file"+done++echo "Done. Assets in docs/static/assets/"