grunt
DocumentJS.apis.generate.grunt
Run the DocumentJS Grunt task.
grunt documentjs[:NAME[@PATH]]
Calls the configured grunt task.
If no name or path is given, all versions and sites will be generated.
If no documentjs
task is configured, the grunt task will read from
a local documentjs.json.
Parameters
-
NAME
{String}
OptionalThe name of a version or site that this generation will be limited too.
-
PATH
{String}
OptionalThe path to the location of a local repository to stand-in for the version specified by
name
.
Examples
Given a
Gruntfile.js
like:Generate all versions and sites like:
Generate the "pages" site like:
Generate the 1.0 docs like:
Generate the 1.0 docs from a local project like: