mirror of https://github.com/sbt/sbt.git
Fix typos in AutoPlugin API docs.
This commit is contained in:
parent
162d8094ba
commit
4feb7d3dc8
|
|
@ -12,7 +12,7 @@ trait AutoImport
|
||||||
An AutoPlugin defines a group of settings and the conditions that the settings are automatically added to a build (called "activation").
|
An AutoPlugin defines a group of settings and the conditions that the settings are automatically added to a build (called "activation").
|
||||||
The `select` method defines the conditions,
|
The `select` method defines the conditions,
|
||||||
`provides` defines an identifier for the AutoPlugin,
|
`provides` defines an identifier for the AutoPlugin,
|
||||||
and the a method like `projectSettings` defines the settings to add.
|
and a method like `projectSettings` defines the settings to add.
|
||||||
|
|
||||||
Steps for plugin authors:
|
Steps for plugin authors:
|
||||||
1. Determine the natures that, when present (or absent), activate the AutoPlugin.
|
1. Determine the natures that, when present (or absent), activate the AutoPlugin.
|
||||||
|
|
@ -42,7 +42,7 @@ will activate `MyPlugin` defined above and have its settings automatically added
|
||||||
|
|
||||||
<Project>.natures( Web && Javascript && !MyStuff)
|
<Project>.natures( Web && Javascript && !MyStuff)
|
||||||
|
|
||||||
then the `MyPlugin` settings (and anything that activates when `MyStuff` is activated) will not be added.
|
then the `MyPlugin` settings (and anything that activates only when `MyStuff` is activated) will not be added.
|
||||||
*/
|
*/
|
||||||
abstract class AutoPlugin
|
abstract class AutoPlugin
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue