PWDoc is a TypeScript documentation generator focused on Angular projects. It parses JSDoc comments and generates MKDocs-compatible Markdown output.
- Parses Angular and TypeScript entities (components, services, directives, pipes, guards, interfaces, enums, functions, classes).
- Generates structured Markdown pages with navigation per language.
- Includes code view and component style tabs.
- Supports i18n maps and i18n template generation.
- Supports external i18n merge/override files and configurable legal page generation.
npm install -D @pixelway_ch/pwdocnpx pwdoc --config pwdoc.config.jsonGenerate i18n template for one file:
npx pwdoc --i18n-template src/app/app.component.ts --lang frGenerate i18n template for a full project:
npx pwdoc --i18n-template-all --lang fr --config pwdoc.config.json{
"entryPoints": ["src"],
"tsconfigPath": "tsconfig.app.json",
"outDir": "pwdoc-site",
"i18nDir": "pwdoc-i18n",
"defaultLang": "en",
"exclude": ["**/*.spec.ts"]
}npm install
npm run build
npm run testBuild PWDoc-generated docs and then build MkDocs Material sites for both
languages (en, fr):
make install-docs-prereqs
make docs-materialEnglish (desktop):
English (mobile):
French (desktop):
French (mobile):
MIT



