Creating documentation for Ionic app
So far, we have added things and features which are targeted at the user of the application. In this recipe, we will add the ability to generate documentation from source code using TSDocs, Gulp, and Ionic CLI Hooks. Documentation is a very important aspect of the developer experience. I personally believe that it should be part of Ionic by default.
This is how the documentation will look like:

Getting ready
You can run this inside the browser.
How to do it...
The following are the instructions to create the example app:
- Create a new
DocAppusing ablanktemplate and navigate inside the folder, as follows:
$ ionic start DocApp blank $ cd DocApp
- Install the following
npmdev dependencies for usingtypedoc:
$ npm install --save-dev gulp gulp-connect gulp-typedoc typedoc- Create
gulpfile.jsin therootdirectory of the app and add the following content:
var gulp = require("gulp");
var connect = require("gulp-connect");
var typedoc = require("gulp-typedoc");
var config...