Compile YUIDoc Documentation.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs Squashed commit of the following: Feb 24, 2014
tasks Minor lint tweaks. Jan 15, 2016
test Minor lint tweaks. Jan 15, 2016
.gitattributes Add .gitattributes Mar 10, 2013
.gitignore Normalize line endings to LF. Closes GH-8. Mar 10, 2013
.jshintrc Update JSHint's options. May 12, 2015
.travis.yml Update CI configs from the latest grunt-contrib-internal. Apr 7, 2016
AUTHORS Update Travis Config, Authors Feb 24, 2014
CHANGELOG
CONTRIBUTING.md Updating to support grunt v0.4.0rc5. Jan 10, 2013
Gruntfile.js
LICENSE-MIT Update copyright to 2016 Jan 5, 2016
README.md Update CHANGELOG. Mar 18, 2016
appveyor.yml
package.json Upgrade grunt and devDeps to 1.0 Apr 6, 2016

README.md

grunt-contrib-yuidoc v1.0.0 Build Status: Linux Build Status: Windows

Compile YUIDoc Documentation

Getting Started

If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

npm install grunt-contrib-yuidoc --save-dev

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

grunt.loadNpmTasks('grunt-contrib-yuidoc');

This plugin was designed to work with Grunt 0.4.x. If you're still using grunt v0.3.x it's strongly recommended that you upgrade, but in case you can't please use v0.3.2.

Yuidoc task

Run this task with the grunt yuidoc command.

Visit the YUIDoc project home for more information on YUIDocs and commenting syntax.

Options

Settings mirror YUIDoc config.

Usage Examples

grunt.initConfig({
  pkg: grunt.file.readJSON('package.json'),
  yuidoc: {
    compile: {
      name: '<%= pkg.name %>',
      description: '<%= pkg.description %>',
      version: '<%= pkg.version %>',
      url: '<%= pkg.homepage %>',
      options: {
        paths: 'path/to/source/code/',
        themedir: 'path/to/custom/theme/',
        outdir: 'where/to/save/docs/'
      }
    }
  }
});

Release History

  • 2015-08-24   v1.0.0   Bump yuidocjs version to v0.10.0. peerDeps updates. Doc updates.
  • 2015-08-24   v0.10.0   Update to yuidocjs ^0.9.0.
  • 2015-06-29   v0.9.0   Update to yuidocjs 0.8.0.
  • 2015-05-11   v0.8.0   Update to yuidocjs 0.7.0.
  • 2015-01-21   v0.7.0   Update to yuidocjs 0.5.0.
  • 2014-12-28   v0.6.0   Update to yuidocjs 0.4.0.
  • 2014-03-12   v0.5.2   Make sure to write JSON data with parseOnly.
  • 2014-02-24   v0.5.1   Fixes parseOnly callback.
  • 2013-09-01   v0.5.0   Catches and reports errors thrown by YUIDoc with grunt.warn.
  • 2013-02-15   v0.4.0   First official release for Grunt 0.4.0.
  • 2013-01-23   v0.4.0rc7   Updating grunt/gruntplugin dependencies to rc7. Changing in-development grunt/gruntplugin dependency versions from tilde version ranges to specific versions.
  • 2013-01-09   v0.4.0rc5   Updating to work with grunt v0.4.0rc5.
  • 2012-10-12   v0.3.2   Rename grunt-contrib-lib dep to grunt-lib-contrib.
  • 2012-10-01   v0.3.1   Project options are parsed as templates.
  • 2012-09-23   v0.3.0   Options no longer accepted from global config key.
  • 2012-09-10   v0.2.0   Refactored from grunt-contrib into individual repo.

Task submitted by George Pantazis

This file was generated on Fri Mar 18 2016 19:12:25.