#!/usr/bin/env bun // Back-compat shim. The doc-extraction implementation now lives in the // importable doc-site system at src/doc-system/site/docs.ts (shipped as // `tosijs-ui/site`). This path is kept (package.json#files lists /bin/docs.ts) // so existing `import { extractDocs } from 'tosijs-ui/bin/docs'` consumers and // the `bun bin/docs.ts` CLI keep working. // // No `/*#` doc block here on purpose: the documented copy lives in the real // module, so the doc extractor surfaces it once (avoiding a slug collision). // // It must point into dist/, not src/: src/ is not in package.json#files, so the src path // resolved only inside this repo and the shim was broken for every consumer from the move // (2026-06-14) until 1.15.2. Found by release-doctor's shipped-relative-specifier check. // Note the bare `'tosijs-ui/bin/docs'` spelling above does NOT resolve: the exports map's // `./*` wildcard sends it to dist/bin/docs.js. Only a file path or `bun bin/docs.ts` reaches // this file. See TODO.md. export * from '../dist/doc-system/site/docs.js'