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

  • 1.0.8
  • 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!

Blog: Sigh, AngularJS Documentation

<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

Quick Start

var angularJsdoc = require('angualr-jsdoc');
angularJsdoc(['my-source1', 'my-source2']); 


// or with options
angularJsdoc('sample-codes', {
  template: 'default',
  destination: 'default/docs',
  readme: "sample-codes/README.md"
});

Specification

angularJsdoc(sourceDirectory, options)

  • sourceDirectory: list of source code directories. e.g. ['dir1', 'dir2']

  • options:

    • command: jsdoc.js command Default: node_modules/jsdoc/jsdoc.js
    • configure: The path to the configuration file. Default: angular-jsdoc/common/conf.json
    • destination: The path to the output folder. Default: ./docs
    • template: The path to the template to use Default: angular-jsdoc/default
    • readme: The path to the project's README file. Default: 'README.md'

Example

Customization

To make your own template, please copy the default directory to your own, then, make your own css, js, and html files. Then, run angularJsdoc with your own template. e.g., angularJsDoc({template:'myown'})

If you want to share your template with others, please send a pull request after adding your template directory where default directory is.

The following is the example of directory with explanation;

my-template
  ├── css
  │   └── my.css          # css used in layout.html
  ├── js
  │   └── my.js           # javascript used in layout.html
  ├── fonts
  │   └── my.woff         # font used in layout.html
  ├── html
  │   ├── class.html      # template used by layout.html
  │   └── layout.html     # layout file
  └── publish.js          # the main file that generate jsdoc

MIT licence

FAQs

Package last updated on 19 Aug 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