-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update sbt-microsites to 0.6.1 (#1868)
- Loading branch information
1 parent
61d553d
commit 0918977
Showing
2 changed files
with
9 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} | ||
|
@@ -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", | ||
|
@@ -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 := "[email protected]:typelevel/cats.git", | ||
includeFilter in makeSite := "*.html" | "*.css" | "*.png" | "*.jpg" | "*.gif" | "*.js" | "*.swf" | "*.yml" | "*.md" | "*.svg", | ||
includeFilter in Jekyll := (includeFilter in makeSite).value | ||
|
@@ -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) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters