Permalink
Browse files

More docs.

  • Loading branch information...
1 parent 98d482d commit 81360830c758c479331fc2598ca21474ab367b58 @cowboy committed Mar 22, 2012
Showing with 3 additions and 6 deletions.
  1. +3 −6 docs/configuring.md
View
@@ -61,7 +61,7 @@ grunt.initConfig({
});
```
-_Note: the [lint task](task_lint.md) is an example of a [multi task](tasks_builtin.md). You can run all targets of any multi task by just specifying the name of the task. In this case, running `grunt lint` would automatically run the `all` target and any others that might exist under `lint` instead of you having to run `grunt lint:all` explicitly._
+_Note: the [lint task](task_lint.md) is an example of a [multi task](api.md). You can run all targets of any multi task by just specifying the name of the task. In this case, running `grunt lint` would automatically run the `all` target and any others that might exist under `lint` instead of you having to run `grunt lint:all` explicitly._
In another example, this very simple configuration saved in the root of a [jQuery repository](https://github.com/jquery/jquery) clone allows the jQuery QUnit unit tests to be run via grunt with `grunt qunit`. Note that even though jQuery's unit tests run in grunt doesn't mean they're going to actually pass. QUnit is running headless, after all!
@@ -108,16 +108,13 @@ grunt.initConfig({
## Loading grunt plugins or tasks folders
-While you can [define tasks and helpers](api.md) in your project's gruntfile, you can also load tasks from external sources.
+While you can define [tasks and helpers](api.md) in your project's gruntfile, you can also load tasks from external sources.
```javascript
// Load tasks and helpers from the "tasks" directory, relative to grunt.js.
grunt.loadTasks('tasks');
-// Load tasks and helpers from the "grunt-sample" grunt plugin. Grunt plugins
-// are Npm modules, so note that if grunt is installed globally, this will use
-// the global "grunt-sample" Npm module. If grunt is installed locally, this
-// will use the local "grunt-sample" Npm module.
+// Load tasks and helpers from the "grunt-sample" Npm-installed grunt plugin.
grunt.loadNpmTasks('grunt-sample');
```

0 comments on commit 8136083

Please sign in to comment.