Consolidate layout: tests fixtures, public user docs, and view site.

Move gold samples under tests/, put executable user docs in public/, restyle view, and add catalog plus gh-pages publish workflow.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-08-04 14:49:44 +08:00
1 parent 29418e14f2
commit 96a7c6ce76
65 files changed
+1770 -432

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
# Generate HTML next to public/*.mq.md via the Marqdo interpreter.
$ErrorActionPreference = "Stop"
Set-Location (Split-Path $PSScriptRoot -Parent)
cargo build --release -q
& .\target\release\marqdo.exe view output public -o public
Write-Host "OK → public/index.html + public/pages/ (sources: public/**/*.mq.md)"
+7
View File
@@ -0,0 +1,7 @@
#!/usr/bin/env bash
# Generate HTML next to public/*.mq.md via the Marqdo interpreter.
set -euo pipefail
cd "$(dirname "$0")/.."
cargo build --release -q
./target/release/marqdo view output public -o public
echo "OK → public/index.html + public/pages/ (sources: public/**/*.mq.md)"