2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-22 02:02:14 +00:00

add edit button to doc site (#275)

This commit is contained in:
Britney Wright 2018-10-10 14:31:43 -04:00 committed by GitHub
parent 7eeeb25f8d
commit 99214f9e35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -369,7 +369,8 @@ lazy val docSettings = Seq(
micrositePushSiteWith := GitHub4s,
micrositeGithubToken := sys.env.get("SBT_MICROSITES_PUBLISH_TOKEN"),
ghpagesNoJekyll := false,
fork in tut := true
fork in tut := true,
micrositeEditButton := Some(MicrositeEditButton("Improve this page", "/edit/master/modules/docs/src/main/tut/{{ page.path }}"))
)
lazy val docs = (project in file("modules/docs"))

View File

@ -32,7 +32,7 @@ addSbtPlugin("org.scalastyle" %% "scalastyle-sbt-plugin" % "1.0.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-license-report" % "1.2.0")
addSbtPlugin("com.47deg" % "sbt-microsites" % "0.7.22")
addSbtPlugin("com.47deg" % "sbt-microsites" % "0.7.24")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.3")