-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
29 lines (27 loc) · 1.25 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import sbt.Keys._
lazy val root = project.in(file("."))
.settings(
libraryDependencies ++= Seq(
"org.typelevel" %% "cats-core" % "0.9.0",
"org.scalameta" %% "scalameta" % "2.1.2"),
name := "sbt-source-docs",
organization := "com.threatstack",
scalaVersion := "2.12.4",
sbtPlugin := true,
scriptedLaunchOpts := scriptedLaunchOpts.value ++ Seq("-Dplugin.version=" + version.value))
lazy val docs = project.in(file("docs"))
.enablePlugins(MicrositesPlugin)
.settings(
micrositeName := "sbt-source-docs",
micrositeDescription := "A plugin to pull source code into docs.",
micrositeAuthor := "Threat Stack, Inc",
micrositeHighlightTheme := "atom-one-light",
micrositeHomepage := "https://sbt-source-docs.github.io/threatstack/sbt-source-docs/",
micrositeGithubOwner := "threatstack",
micrositeGithubRepo := "sbt-source-docs",
micrositeBaseUrl := "sbt-source-docs",
ghpagesNoJekyll := false,
micrositeGitterChannel := false,
scalacOptions ~= { _.filterNot(Set("-Yno-predef", "-Xlint")) },
git.remoteRepo := "[email protected]:threatstack/sbt-source-docs.git",
includeFilter in makeSite := "*.html" | "*.css" | "*.png" | "*.jpg" | "*.gif" | "*.svg" | "*.js" | "*.swf" | "*.yml" | "*.md")