forked from typelevel/scala
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
39 lines (35 loc) · 1.06 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import microsites._
name := "Scala"
version := "1.0"
scalaVersion := "2.11.8"
micrositeName := "Typelevel"
micrositeDescription := "Our fork of the Scala compiler"
micrositeAuthor := "Typelevel contributors"
micrositeHomepage := "http://typelevel.org/scala"
micrositeGithubOwner := "typelevel"
micrositeGithubRepo := "scala"
micrositeBaseUrl := "scala"
micrositeDocumentationUrl := "docs"
micrositeExtraMdFiles := Map(
file("README.md") -> ExtraMdFileConfig(
"index.md",
"home"
)
)
micrositeHighlightTheme := "atom-one-light"
micrositePalette := Map(
"brand-primary" -> "#FC4053",
"brand-secondary" -> "#B92239",
"brand-tertiary" -> "#8C192F",
"gray-dark" -> "#464646",
"gray" -> "#7E7E7E",
"gray-light" -> "#E8E8E8",
"gray-lighter" -> "#F6F6F6",
"white-color" -> "#FFFFFF")
enablePlugins(MicrositesPlugin)
sys.env.get("GH_TOKEN") match {
case None => Seq()
case Some(token) => Seq(
git.remoteRepo := s"https://[email protected]/${micrositeGithubOwner.value}/${micrositeGithubRepo.value}.git"
)
}