Skip to main content

Getting Started Guides


Practical walkthroughs for setting up docsgen in different project configurations. Each guide takes you from zero to working documentation with real examples.


Purpose
  1. Learn by doing - Follow step-by-step walkthroughs instead of reading reference tables.
  2. See real output - Each guide shows what the generated documentation actually looks like.
  3. Pick your setup - Choose the guide that matches your project structure.

Available Guides

Documenting a Single Package

End-to-end walkthrough: install docsgen, configure it for one TypeScript package, add JSDoc comments, build, and see the generated API docs. Includes setting up the @import directive to embed live API fragments in hand-written guides.

Best for: First-time users, single-package libraries, learning the basics.

Monorepo Documentation

Set up docsgen for a monorepo with multiple packages. Covers dynamic package discovery, per-package configuration, cross-package type linking, and sidebar organization.

Best for: Monorepo maintainers, multi-package libraries, Nx/Turborepo/Lerna users.


Where to go next

If you are looking for reference documentation rather than guides, see: