Point the Omni API docs at the Cloudflare Worker and drop the Netlify rollback build

This commit is contained in:
Dylan M. Taylor authored and GitHub committed 2026-11-18 12:05:38 -05:00
1 parent 1ce37b5f28
commit f4416f8f7f
3 files changed
+3 -38

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
# ArtCraft Omni API
> # 📚 Full API reference: **<https://storyteller-docs.netlify.app/>**
> # 📚 Full API reference: **<https://storyteller-docs.artcraft.team/>**
>
> **Every ArtCraft API endpoint is documented there.** This guide covers only the Omni API video
> endpoints — for everything else, start at the link above.
+2 -3
View File
@@ -41,6 +41,5 @@ Workers Builds runs both from the repository root. `storyteller-docs.artcraft.te
`artcraft.team` zone must be on the same account as the Worker (the setup
`dashboard.artcraft.team` already uses).
These docs previously lived at `storyteller-docs.netlify.app`, built by
[`script/netlify_build_docs.sh`](../../script/netlify_build_docs.sh), which is kept
only as the rollback path. The Worker deliberately reuses that name.
These docs previously lived at `storyteller-docs.netlify.app`. That Netlify site is
no longer maintained, and the Worker deliberately reuses its name.
-34
View File
@@ -1,34 +0,0 @@
#!/bin/bash
#
# Netlify build for https://storyteller-docs.netlify.app, the previous home of
# the API docs. Production now serves storyteller-docs.artcraft.team from the Cloudflare
# Worker in frontend/api_docs, and this script exists only as the rollback path.
# The Netlify site is UI-configured (there is no netlify.toml for it):
# * Base directory: (repository root)
# * Build command: bash script/netlify_build_docs.sh
# * Publish directory: build
#
set -euxo pipefail
# Resolve the repo root regardless of where this script is invoked from
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
cd "$REPO_ROOT"
# Install Rust toolchain
rustup update
rustup default stable
# Emit versions
rustup show
mkdir -p ./build
# Regenerates frontend/api_docs/public/api.json (includes the bindgen workaround).
bash script/build_api_docs.sh
cp ./frontend/api_docs/public/index.html ./build/index.html
cp ./frontend/api_docs/public/api.json ./build/api.json