Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
grunt-build-docs
Advanced tools
Readme
Generate the documentation of your projects using YUIDOC
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, install this plugin with this command:
npm install grunt-build-docs --save-dev
Run this task with the grunt docs
command.
This task is a [multi task][] so any targets, files and options should be specified according to the [multi task][] documentation. [multi task]: https://github.com/gruntjs/grunt/wiki/Configuring-tasks
This plugin is compatible with grunt 0.4.0rc7
Settings mirror YUIDoc config.
First possibility: Create a documentation for each directory
docs: {
compile: {
name: "Example",
description: 'Example Description',
version: '1.0',
url: 'http://www.example.com',
options: {
outdir: "docs" // path or name of the documentation directory
},
files: [{expand: true, flatten: true, cwd: "test/tests", src: "*", dest: "test/tests"}]
}
}
If you want to create a index page that list and link all the available documentations (Usefull if several parts of your project own a documentation)
options: {
indexdir: "test/tmp/indexdocs", // Path to the index page
indextheme: "themes/simpleIndex" // Optional, if you want to use a custom theme
}
Second possibility: Create a commun documentation (Because the dest is the same for all directories)
docs: {
compile: {
name: "Example",
description: 'Example Description',
version: '1.0',
url: 'http://www.example.com',
options: {
outdir: "../docs"
},
files: [{expand: true, flatten: true, cwd: "test/tests", src: "*", dest: "test/tmp"}]
}
}
All these examples are tested in the plugin, you can see how it works by runnning "grunt test" inside the plugin.
FAQs
Build documentations using YUIDOC
The npm package grunt-build-docs receives a total of 1 weekly downloads. As such, grunt-build-docs popularity was classified as not popular.
We found that grunt-build-docs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.