summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTobias Roeser <le.petit.fou@web.de>2018-10-26 09:35:15 +0200
committerTobias Roeser <le.petit.fou@web.de>2018-10-26 09:35:15 +0200
commitcb0eb362a12a09a4cc5455fe8513c15a79d8bdf6 (patch)
tree9f6467f7abaa7be2fd2ddf33f218ee042ef9aafe /docs
parent2ccad83244b2630ba4183d926a91d8b3f92b9a31 (diff)
downloadmill-cb0eb362a12a09a4cc5455fe8513c15a79d8bdf6.tar.gz
mill-cb0eb362a12a09a4cc5455fe8513c15a79d8bdf6.tar.bz2
mill-cb0eb362a12a09a4cc5455fe8513c15a79d8bdf6.zip
Fixed formatting of code block
Diffstat (limited to 'docs')
-rw-r--r--docs/pages/9 - Contrib Modules.md26
1 files changed, 13 insertions, 13 deletions
diff --git a/docs/pages/9 - Contrib Modules.md b/docs/pages/9 - Contrib Modules.md
index aa7b21a7..13f7b655 100644
--- a/docs/pages/9 - Contrib Modules.md
+++ b/docs/pages/9 - Contrib Modules.md
@@ -58,27 +58,27 @@ This plugin generates a single object containing information from your build.
To declare a module that uses BuildInfo you must extend the `mill.contrib.BuildInfo` trait when defining your module.
Quickstart:
- ```scala
- object project extends BuildInfo {
- val name = "poject-name"
- def buildInfoMembers: T[Map[String, String]] = T {
- Map(
- "name" -> name),
- "scalaVersion" -> scalaVersion()
- )
- }
+```scala
+object project extends BuildInfo {
+ val name = "poject-name"
+ def buildInfoMembers: T[Map[String, String]] = T {
+ Map(
+ "name" -> name),
+ "scalaVersion" -> scalaVersion()
+ )
}
- ```
+}
+```
#### Configuration options
-* `def buildInfoMembers: T[Map[String, String]]`
+* `def buildInfoMembers: T[Map[String, String]]`
The map containing all member names and values for the generated info object.
-* `def buildInfoObjectName: String`, default: `BuildInfo`
+* `def buildInfoObjectName: String`, default: `BuildInfo`
The name of the object which contains all the members from `buildInfoMembers`.
-* `def buildInfoPackageName: Option[String]`, default: `None`
+* `def buildInfoPackageName: Option[String]`, default: `None`
The package name of the object.