Commit Graph

2 Commits

Author SHA1 Message Date
yusing
e31cdde636 fix(scripts): harden update-wiki impl doc sync and GitHub line links
When a path includes a line number, use only the #L anchor in the blob URL
and do not append the old #fragment, which duplicated the anchor in the
href.

Ignore READMEs under scripts/ (alongside submodule paths), read a missing
destination mdx as empty, remove unexpected impl .mdx files when syncing, and
run `main` only when `import.meta.main` so the module is importable from
tests. Export `rewriteImplMarkdown` and `syncImplDocs` and add Bun tests for
link rewriting, scripts exclusion, and add/remove mdx output.
2026-04-23 17:23:39 +08:00
yusing
26fb99734b chore(make): align minify and update-wiki with Bun package layout
Replace minify-js with minify delegating to `bun scripts/minify`. Add
modernize (go fix per module). Drop echo lines from tidy
and dependency update loops. Rename update-wiki entry to index.ts and
invoke it as `bun scripts/update-wiki`.
2026-04-23 17:23:39 +08:00