@x12i/adaptive-i18n-docs
v1.1.0
Published
Adaptive I18n docs knowledge SDK for x12i-docify — install as a devDependency only. Catalog, guides, and coding-agent instructions for humans and agents.
Maintainers
Readme
@x12i/adaptive-i18n-docs
Adaptive I18n docs knowledge SDK for the x12i-docify platform. Install as a devDependency only — do not add it to production service dependencies.
npm i -D @x12i/adaptive-i18n-docsimport { adaptiveI18nDocs } from "@x12i/adaptive-i18n-docs";
adaptiveI18nDocs.getUseCaseMarkdown("resolve-strings-in-the-browser");
adaptiveI18nDocs.getBookMarkdown("02-browser-client", "developers");
adaptiveI18nDocs.manifest();CLI:
npx adaptive-i18n-docs list-use-cases
npx adaptive-i18n-docs use-case resolve-strings-in-the-browser > pack.md
npx adaptive-i18n-docs book 02-browser-client developers > book.mdHumans (local docs site)
From the monorepo root or this package:
pnpm docs # build if needed, serve, open browser (port 4173)
pnpm docs:rebuild # force rebuild + serve
pnpm docs:serve # serve without opening browserBuilt with the latest @x12i/docify-* packages and served via @x12i/docify-web serve dist/web.
What this package is
content/ is the docify authoring source: books authored as NN-slug/{audience}/BOOK.md,
plus the site config (data/site.json), catalog (data/catalog.json), use cases
(data/use-cases.json), and marketing/site pages (site-pages/*.md).
npm run knowledge:build runs @x12i/docify-export
to build a content bundle (HTML books, markdown/JSON downloads, agent-manifest.json,
pages.json) plus a dist/web deploy tree, and generates src/generated/bundle.ts
so the published SDK carries its knowledge with zero filesystem access at runtime.
Depends on published @x12i/docify-core / @x12i/docify-sdk. Humans share the web
UI via @x12i/docify-web serve dist/web.
Build
npm run build # bundle + web + compile the SDK
npm run knowledge:build # just re-assemble the bundle + web, no tsc