beads/scripts/ci/website.sh
matt wilkie cea892d43f
docs: publish community tools on website (#4299)
* docs: publish community tools on website

Mirror docs/COMMUNITY_TOOLS.md into Docusaurus so the Pages build publishes it for the default released docs and unreleased docs without relying on manual copy steps.

Agent-Signature: codex-gpt-5.5-high on behalf of matt wilkie

* docs: publish core support docs on website

Mirror Sync Concepts, Labels, Metadata, Uninstalling, and Antivirus docs into Docusaurus and include them in the default released snapshot and LLM bundle.

Clarify that agent execution and verification metadata are examples of metadata as a schema extension point, not native issue fields.

Agent-Signature: codex-gpt-5.5-high on behalf of matt wilkie

* docs: clarify metadata examples

Replace local verification queue metadata with a tracker round-trip example so public metadata docs show upstream-aligned schema extension patterns.

Agent-Signature: codex-gpt-5.5-high on behalf of matt wilkie
---------
2026-06-03 13:44:47 -07:00

42 lines
862 B
Bash
Executable file

#!/usr/bin/env bash
# Website package gate.
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
REPO_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
WEBSITE_DIR="$REPO_ROOT/website"
# shellcheck source=lib/timing.sh
source "$REPO_ROOT/scripts/ci/lib/timing.sh"
website_npm_ci() {
cd "$WEBSITE_DIR"
npm ci
}
website_typecheck() {
cd "$WEBSITE_DIR"
npm run typecheck
}
generate_llms_full() {
cd "$REPO_ROOT"
./scripts/generate-llms-full.sh
}
sync_website_docs() {
cd "$REPO_ROOT"
./scripts/sync-website-docs.sh
}
website_build() {
cd "$WEBSITE_DIR"
npm run build
}
ci_time "website npm ci" -- website_npm_ci
ci_time "sync website docs" -- sync_website_docs
ci_time "website typecheck" -- website_typecheck
ci_time "generate llms-full" -- generate_llms_full
ci_time "website build" -- website_build