Unify frontmatter imports as import bind:target and drop > imports.

`import json:lib/json.mq.md` binds file libraries; `import fmt:time.format`
binds member short names (replaces `> use`). Legacy `> path.mq.md` / `> use`
now hard-error with a hint. Migrates repo docs, skills, ext, lib, public, examples,
man-test and tests; adds a negative gold and updates view/catalog rendering.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
cflmyandCursor committed 2026-08-13 10:03:21 +08:00
1 parent 56b9bfa5a3
commit ecc92f473a
163 files changed
+577 -593

No files matched your search

+3 -3
View File
@@ -1,9 +1,9 @@
---
title: db/index
description: Open sqlite, init articles, seed once.
> ext/web/web.mq.md
> articles.mq.md as articles
> lib/fs.mq.md
import web:ext/web/web.mq.md
import articles:articles.mq.md
import fs:lib/fs.mq.md
---
## open
+7 -7
View File
@@ -1,13 +1,13 @@
---
title: web-site
description: Home + /about + /new (form in page slot) + admin.
> ext/web/web.mq.md
> styles/shell.mq.md
> components/nav.mq.md
> components/side.mq.md
> components/foot.mq.md
> db/articles.mq.md
> db/index.mq.md as db
import web:ext/web/web.mq.md
import shell:styles/shell.mq.md
import nav:components/nav.mq.md
import side:components/side.mq.md
import foot:components/foot.mq.md
import articles:db/articles.mq.md
import db:db/index.mq.md
---
# main