No description, website, or topics provided.
CSS JavaScript HTML
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
static-example
.gitignore
README.md
index.js
package.json
yarn.lock

README.md

webpack-angular-dgeni-plugin

Webpack plugin for generate dgeni angular documentation with default template

Angular documentation is generated with DGeni

Please refer to Angular documentation for doc's comments generation.

Installation

npm install webpack-angular-dgeni-plugin

Configuration

Webpack plugin definition :

new DocsGeneratorPlugin({
    enable       : true,
    staticContent: './docs',
    sources      : {
      include : 'src/app/**/**/*.js',
      basePath: 'src/app'
    },
    output       : 'dist-docs'
})
  • enable allow you to disable docs generation with variable
  • staticContent contain ngdoc static file (markdown type). You can find example under static-example
  • sources describe all folder to be scan
    • include source glob pattern
    • basePath root path for source pattern
  • output output directory

ChangeLog

###v0.0.1

  • Add Webpack plugin structure
  • Add Dgeni processor
  • Add Dgeni templates

License

MIT License

Copyright (c) 2016 Groupe SII