Create user-friendly documentation for your projects with ease!
Explore the docs Β»
Report Bug
Β·
Request Feature
This project was originally created to speed up the writing of documentation for your Angular libraries and applications and make it flexible. We want to make this process as quick and easy as possible for you so that you can focus on writing code and not on finding solutions for your documentation.
NgDoc allows you to do the following things:
- Dynamic markdown templates for your guidelines via Nunjucks
- Render demos on the page in one line of code
- Create playgrounds for your Angular Components and Directives
- The documentation for your API is based on comments to your code
- Dynamic links to API, Pages, or foreign websites via
Keywordsfeature - Automatic generation of links to your API in code examples or in mentions of any entity inside inline code
- Offline search that collects indexes automatically based on you documentation
- Customizable interface
- And much more!
Warning This library was created for Angular 15+ projects, it may not work with previous versions
First of all you need an Angular application which will be used to render the documentation, after that you can install NgDoc using the command below, it will automatically install all the necessary packages and configure your application.
ng add @ng-doc/addContributing features or bugs is currently closed, but it will soon reopen once we finish the guide that will provide detailed instructions on how to do it. This does not apply to documentation edits, which are still highly encouraged! :)