New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

gulp-doxx

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-doxx

Doxx documentation generator for gulp

latest
Source
npmnpm
Version
0.0.5
Version published
Weekly downloads
64
-3.03%
Maintainers
1
Weekly downloads
 
Created
Source

gulp-doxx

Doxx documentation generator for gulp.

Install

npm install gulp-doxx

Configure

var gulp = require('gulp'),
    gulpDoxx = require('gulp-doxx');

gulp.task('docs', function() {

  gulp.src(['**/*.js', 'README.md'], {base: '.'})
    .pipe(gulpDoxx({
      title: 'My App Title',
      urlPrefix: '/docs'
    }))
    .pipe(gulp.dest('docs'));

});

Options

title

Type: String

The title of your project

Default: Title not set

urlPrefix

Type: String

Default: null

Prefix to be used for generating links in menu.

Examples

Without urlPrefix menu link could look like:

<a href="script.js.html">script.js</a>

Same link with urlPrefix set to ./docs:

<a href="./docs/script.js.html">script.js</a>

Same link with urlPrefix set to http://my-docs-server.io:

<a href="http://my-docs-server.io/script.js.html">script.js</a>

template

Type: String

Default: undefined

Path to jade template to be used to generate result.

If not set, default doxx template will be used.

Run

gulp docs

Keywords

gulp

FAQs

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