@wrksz/docs
A documentation engine for Next.js. MDX pages, a page tree, a table of contents, search on cue, and Markdown for agents.
Press Command K to search the docs.
Features
A table of contents that reads along
The marker covers every section on screen and moves with the scroll. On a phone it folds into a bar with a progress ring.
Search on cue
Fuzzy search over every page, built on @wrksz/cue. It opens from the header or the keyboard and docks as a sheet on phones.
Highlighted at build time
Pierre highlights each block once for both themes. Titles, line ranges and [!code ++] diffs come from the fence.
Install from any registry
<Install> writes the command for each package manager and keeps the reader's pick from the first paint. npm and PyPI are built in.
Markdown for agents
Every page is also at its URL with .md, next to llms.txt. Components come out as plain Markdown.
Prompts for agents
<AgentPrompt> copies a ready prompt or opens it in Claude Code, Codex or Cursor, with links to the page filled in.











