Skip to content

Commit

Permalink
Publish scaladocs to GH
Browse files Browse the repository at this point in the history
  • Loading branch information
stringbean committed Aug 23, 2017
1 parent 9828be7 commit 610cc28
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
9 changes: 7 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import PgpKeys.{publishLocalSigned, publishSigned}
import com.typesafe.sbt.SbtGit.GitKeys._

organization := "software.purpledragon.xml"
version := "0.0.1"
Expand Down Expand Up @@ -31,9 +32,13 @@ lazy val root = project
publishLocal := {},
publishLocalSigned := {},
test := {},
testOnly := {}
testOnly := {},
siteSubdirName in ScalaUnidoc := "api",
addMappingsToSiteDir(mappings in (ScalaUnidoc, packageDoc), siteSubdirName in ScalaUnidoc),
gitRemoteRepo := "git@github.com:stringbean/scala-xml-compare.git",
ghpagesNoJekyll := true
)
.enablePlugins(ScalaUnidocPlugin)
.enablePlugins(ScalaUnidocPlugin, GhpagesPlugin)

useGpg := true
usePgpKeyHex("B19D7A14F6F8B3BFA9FF655A5216B5A5F723A92D")
3 changes: 2 additions & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.1")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")

// documentation
addSbtPlugin("com.eed3si9n" % "sbt-unidoc" % "0.4.1")
addSbtPlugin("com.eed3si9n" % "sbt-unidoc" % "0.4.1")
addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.6.2")

0 comments on commit 610cc28

Please sign in to comment.