Skip to content

Commit 610cc28

Browse files
committed
Publish scaladocs to GH
1 parent 9828be7 commit 610cc28

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

build.sbt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import PgpKeys.{publishLocalSigned, publishSigned}
2+
import com.typesafe.sbt.SbtGit.GitKeys._
23

34
organization := "software.purpledragon.xml"
45
version := "0.0.1"
@@ -31,9 +32,13 @@ lazy val root = project
3132
publishLocal := {},
3233
publishLocalSigned := {},
3334
test := {},
34-
testOnly := {}
35+
testOnly := {},
36+
siteSubdirName in ScalaUnidoc := "api",
37+
addMappingsToSiteDir(mappings in (ScalaUnidoc, packageDoc), siteSubdirName in ScalaUnidoc),
38+
gitRemoteRepo := "git@github.com:stringbean/scala-xml-compare.git",
39+
ghpagesNoJekyll := true
3540
)
36-
.enablePlugins(ScalaUnidocPlugin)
41+
.enablePlugins(ScalaUnidocPlugin, GhpagesPlugin)
3742

3843
useGpg := true
3944
usePgpKeyHex("B19D7A14F6F8B3BFA9FF655A5216B5A5F723A92D")

project/plugins.sbt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.1")
1212
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0")
1313

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

0 commit comments

Comments
 (0)