Move the website to its own repository (ludovic111/horizon-site)
playhorizon.dev now deploys from the private ludovic111/horizon-site, which holds website/'s history. The files its build still reads from here move out of website/: - the design tokens to crates/horizon-theme/tokens.css (xtask tokens writes them, tokens_css_is_up_to_date checks them); - the roadmap's JSON to roadmap/roadmap.json (tools/roadmap.py build); - the benchmark fixtures to crates/horizon-telemetry-server/tests/fixtures/benchmarks/ (the site keeps a copy); - the web icons to docs/media/brand/web/ (xtask icons). pr_ready loses its website area and the tokens special case; rust_changes, the roadmap's links and every doc that pointed into website/ follow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,15 +1,12 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Keep verify's Rust steps for any change beyond website content or documentation."""
|
||||
"""Keep verify's Rust steps for any change beyond documentation."""
|
||||
|
||||
import argparse
|
||||
import subprocess
|
||||
|
||||
|
||||
def needs_rust(paths):
|
||||
# horizon-theme's Rust tests check that the generated website tokens match.
|
||||
return any(path == "website/src/tokens.css" or not (
|
||||
path.startswith(("website/", "docs/")) or path.endswith(".md")
|
||||
) for path in paths)
|
||||
return any(not (path.startswith("docs/") or path.endswith(".md")) for path in paths)
|
||||
|
||||
|
||||
def changed_paths(base, head):
|
||||
|
||||
Reference in New Issue
Block a user