homepage: live model info on the fleet cards, user docs page at /docs
- services.json: frank-large/medium/small move from admin-only to the user page with current descriptions (halogen w4b iGPU; 35:30 layer-split MTP 27B on the R9700s; Gemma4-12B QAT vision path on the 3090) and docs links to /docs#models - docs.html: static user documentation (access chain, model guide, media how-tos, troubleshooting); served at /docs via the post-auth homepage listener; shipped by deploy_homepage; footer + index link to it - tests: pages seam asserts the docs contract (page, link, Caddy route, deployer copy) - vault: Homepage.md synced (docs landing shipped, cards reclassified)
This commit is contained in:
1 parent
2fc0689858
commit
32751c02d5
8 files changed
+179
-14
No files matched your search
@@ -48,3 +48,16 @@ setup() {
|
||||
grep -q '<base href="/">' "$BASE/index.html"
|
||||
grep -q '<base href="/">' "$BASE/admin.html"
|
||||
}
|
||||
|
||||
@test "the user docs page exists and is reachable from the service pages" {
|
||||
[ -f "$BASE/docs.html" ]
|
||||
grep -q '<a href="/docs">docs</a>' "$BASE/index.html"
|
||||
grep -q 'id="models"' "$BASE/docs.html"
|
||||
grep -q '<base href="/">' "$BASE/docs.html"
|
||||
grep -q 'style.css' "$BASE/docs.html"
|
||||
}
|
||||
|
||||
@test "the docs route is served and shipped" {
|
||||
grep -qE 'try_files /docs\.html' "$REPO_ROOT/dankclaw/Caddyfile"
|
||||
grep -q 'shared/homepage/docs.html' "$REPO_ROOT/scripts/deploy-remote.sh"
|
||||
}
|
||||
Reference in new issue
Block a user