Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular-jsdoc

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-jsdoc

JsDoc Plugin and Template for AngularJs

  • 0.3.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
897
decreased by-7.72%
Maintainers
1
Weekly downloads
 
Created
Source

Angular-JSDoc

JSDoc 3 Template for AngularJS.
A JSDoc plugin and template for AngularJS, nothing else!

<img src=http://i.imgur.com/FPo9x25.gif width=50% />

Features

  • Right side TOC, table of contents, for navigation by Directives, Services, Controllers, etc
  • Read and process @ngdoc tag

How Does It Look Like

Install

$ npm install jsdoc angular-jsdoc --save-dev

Run In Command Line

Run jsdoc command to generate your documentation. All command line options are the options of jsdoc

$ path/to/jsdoc -c path to conf> -t <template> <your source code>

In example,

`$ node_modules/jsdoc/jsdoc.js -c node_modules/angular-jsdoc/conf.json -t node_modules/angular-jsdoc/template -r myDir`

Run with gulp-jsdoc

  1. install gulp-shell
    $ npm install gulp-shell --save-dev

  2. add the following to the gulpfile.json

    var shell = require('gulp-shell'); 
    gulp.task('docs', shell.task([ 
      'node_modules/jsdoc/jsdoc.js '+ 
        '-c node_modules/angular-jsdoc/conf.json '+   // config file
        '-t node_modules/angular-jsdoc/template '+    // template file
        '-d build/docs '+                             // output directory
        './README.md ' +                              // to include README.md as index contents
        '-r app/scripts'                              // source code directory
    ])); 
    
  3. run gulp task
    $ gulp docs

Example of Directive Documentation

Example of Service Documentation

FAQs

Package last updated on 10 Jun 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc