Provide the `doc` command, to generate API docs, for `mojito-cli`
Want to see pretty graphs? Log in now!
npm install mojito-cli-doc
|19||downloads in the last day|
|787||downloads in the last week|
|1 362||downloads in the last month|
|Last Published By|
|Version||0.0.3 last updated 5 months ago|
|Keywords||mojito, yui, api, doc|
|Dependencies||mkdirp, npmlog, rimraf, yuidocjs|
mojito-cli-docs provides the
doc command for
mojito-cli, that you can install with:
npm install -g mojito-cli.
doc command generates, or serves, API documentation for Mojito, Mojito apps,
npm install -g mojito-cli
To generate documentation for a mojito application, including all the mojits in it's
run the following from the application directory:
$ mojito docs app [name]
name if provided, is used as the sub-directory name to save the generated API docs. See Options below.
To generate documentation for a specific mojit, run the following from the application directory:
$ mojito docs mojit <mojit-name>
To generate documentation for the Mojito framework itself:
$ mojito docs mojito
Specify output directory (if
--server are not used):
--directory <path> -d <path>
By default, the generated files are saved in
./artifacts/docs/, or if a
name argument is provided,
Exclude some files or directories from being processed:
--exclude <pattern> -e <pattern>
This option can be repeated, for example
mojito doc --exclude middleware --exclude build will exclude files or directories with "middleware" or "build" in their names.
Serve the API docs over HTTP, without rendering them to the file system (assumes
Serve the API docs over HTTP, like option
--server, using the specified port number:
--port <number> -p <number>
Licensing and Contributions
mojito-cli-doc is licensed under a BSD license (see LICENSE.txt). To contribute to the Mojito project,
please see Contributing.
The Mojito project is a meritocratic, consensus-based community project, which allows anyone to contribute and gain additional responsibilities.