Skip to content

Commit

Permalink
Dogfood sbt-site 1.4.0 (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
ennru authored May 23, 2019
1 parent d8f0ad5 commit 420db51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
10 changes: 1 addition & 9 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import scala.sys.process._

sbtPlugin := true
enablePlugins(SbtPlugin)

Expand Down Expand Up @@ -47,17 +45,11 @@ libraryDependencies +=
)

enablePlugins(ParadoxSitePlugin, ParadoxMaterialThemePlugin)
Paradox / sourceDirectory := sourceDirectory.value / "main" / "paradox"
ParadoxMaterialThemePlugin.paradoxMaterialThemeSettings(Paradox)
Paradox / paradoxMaterialTheme ~= {
Compile / paradoxMaterialTheme ~= {
_.withFavicon("img/favicon.png")
.withLogo("img/sbt-logo.svg")
.withRepository(uri("https://github.com/sbt/sbt-site"))
}
Paradox / version := {
if (isSnapshot.value) "git tag -l".!!.split("\r?\n").last.substring(1)
else version.value
}

//#ghpages-publish
enablePlugins(GhpagesPlugin)
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.5")
addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.3.3")
addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.4.0")
//#sbt-ghpages
addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.6.3")
//#sbt-ghpages
Expand Down

0 comments on commit 420db51

Please sign in to comment.