Socket
Socket
Sign inDemoInstall

dox-docco

Package Overview
Dependencies
6
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    dox-docco

A docco-like formatter for the dox comment parser


Version published
Weekly downloads
6
increased by200%
Maintainers
1
Install size
1.80 MB
Created
Weekly downloads
 

Readme

Source

dox-docco

A docco-like formatter for the dox comment parser using Dust.js

Build Status

Install

npm install -g dox-docco

For pygments support, install python-setuptools, then

sudo easy_install pygments

If pygments is not installed, syntax highlighting will be skipped.

Usage

Usage: dox-docco [options]

Options:

  -h, --help                 output usage information
  -V, --version              output the version number
  -o, --outfile [outfile]    the file to output to.  Default is stdout
  -i, --infile [infile]      the file to read in.  Deafult is stdin
  -c, --css [css]            The css file to use.  Default is github hosted static/docco.css.
  -t, --template [template]  The dust template to use.  Default is static/template.html.
  --title [title]            The title of the output document.  Deafult is the input file name, or '' for stdin

How does this differ from Docco?

Dox parses block style JS comments, while Docco parses single-line comments. In effect, this is Docco for block-style comments. I also wanted to create an example Dox template using Dust.js. This basically glues these 3 technologies together.

Keywords

FAQs

Last updated on 11 Dec 2014

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc