packages/tsdocs/README.md
This module provides API docs generation
for @loopback/* packages.
It's built on top of https://api-extractor.com/:
npm run extract-apidocs -- --report
The command above will traverse all TypeScript packages in the monorepo and run
api-extractor to generate api reports and doc models into
loopback-next/docs/apidocs:
reports: api reportsreports-temp: temporary api reportsmodels: doc modelsnpm run document-apidocs
It runs api-documenter to generate markdown files into
loopback-next/docs/site/apidocs.
npm run update-apidocs
It adds Jekyll metadata to markdown files in loopback-next/docs/site/apidocs
and generates loopback-next/docs/site/apidocs/index.md as the index page.
To run all steps together:
npm run build:tsdocs
npm install --save @loopback/tsdocs
Run npm test from the root folder.
See all contributors.
MIT