Skip to content

Commit

Permalink
Update sbt-microsites to 0.6.1 (typelevel#1868)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alistair-Johnson authored and Luka Jacobowitz committed Sep 1, 2017
1 parent a257529 commit 627c2f7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
12 changes: 8 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import com.typesafe.sbt.SbtGhPages.GhPagesKeys._
import microsites._
import sbtunidoc.Plugin.UnidocKeys._
import ReleaseTransformations._
import scala.xml.transform.{RewriteRule, RuleTransformer}
Expand Down Expand Up @@ -149,7 +149,12 @@ lazy val docSettings = Seq(
micrositeBaseUrl := "cats",
micrositeDocumentationUrl := "api",
micrositeGithubOwner := "typelevel",
micrositeExtraMdFiles := Map(file("CONTRIBUTING.md") -> "contributing.md"),
micrositeExtraMdFiles := Map(
file("CONTRIBUTING.md") -> ExtraMdFileConfig(
"contributing.md",
"home"
)
),
micrositeGithubRepo := "cats",
micrositePalette := Map(
"brand-primary" -> "#5B5988",
Expand All @@ -174,6 +179,7 @@ lazy val docSettings = Seq(
"-sourcepath", baseDirectory.in(LocalRootProject).value.getAbsolutePath,
"-diagrams"
),
scalacOptions in Tut ~= (_.filterNot(Set("-Ywarn-unused-import", "-Ywarn-dead-code"))),
git.remoteRepo := "git@github.com:typelevel/cats.git",
includeFilter in makeSite := "*.html" | "*.css" | "*.png" | "*.jpg" | "*.gif" | "*.js" | "*.swf" | "*.yml" | "*.md" | "*.svg",
includeFilter in Jekyll := (includeFilter in makeSite).value
Expand All @@ -185,9 +191,7 @@ lazy val docs = project
.settings(catsSettings)
.settings(noPublishSettings)
.settings(unidocSettings)
.settings(ghpages.settings)
.settings(docSettings)
.settings(tutScalacOptions ~= (_.filterNot(Set("-Ywarn-unused-import", "-Ywarn-dead-code"))))
.settings(commonJvmSettings)
.dependsOn(coreJVM, freeJVM)

Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "0.8.5")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.19")
addSbtPlugin("com.github.tkawachi" % "sbt-doctest" % "0.5.0")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "1.1")
addSbtPlugin("com.fortysevendeg" % "sbt-microsites" % "0.3.2")
addSbtPlugin("com.47deg" % "sbt-microsites" % "0.6.1")
addSbtPlugin("com.dwijnand" % "sbt-travisci" % "1.1.0")
addSbtPlugin("org.lyranthe.sbt" % "partial-unification" % "1.0.0")

0 comments on commit 627c2f7

Please sign in to comment.