Working examples of clean-jsdoc-theme v5 — a modern documentation theme that produces static sites with server-rendered HTML, lazy-hydrated interactive islands, and fuzzy/full-text search.
The theme works with both JSDoc and TypeDoc, so this repo has one self-contained example for each. Each example is its own npm project: clone the repo, cd into the example you want, install, and run its generate script.
| Example | Documents | Tooling |
|---|---|---|
jsdoc-example/ |
JavaScript with JSDoc comments | JSDoc + clean-jsdoc-theme |
typedoc-example/ |
TypeScript | TypeDoc + @clean-jsdoc-theme/typedoc |
Both produce the same kind of output — the only difference is the doc generator and how the theme is wired into it. See each example's README for full setup and configuration instructions.
# JSDoc
cd jsdoc-example
npm install
npm run generate-docs # output → docs/
npm run serve # preview at http://localhost:3001
# TypeDoc
cd typedoc-example
npm install
npm run generate-docs # output → dist/
npm run serve # preview at http://localhost:3002- Theme repository: https://github.com/ankitskvmdam/clean-jsdoc-theme
- Architecture & design: ARCHITECTURE.md
Mail me at: hello@ankdev.me
Licensed under the MIT license.