Skip to content
Permalink
Browse files

Temporarily disable doc graphs

  • Loading branch information...
sarahgerweck committed Jun 29, 2019
1 parent 0ce7a45 commit 5deaa5318670b9133bcd217eb0741c38239ca75e
Showing with 18 additions and 6 deletions.
  1. +18 −6 project/SiteSettingsPlugin.scala
@@ -7,13 +7,25 @@ object SiteSettingsPlugin extends AutoPlugin {
override def trigger = allRequirements
override def requires = SiteScaladocPlugin

lazy val includeSiteDiagrams = Def.settingKey[Boolean]("Whether to include Scaladoc diagrams")

override lazy val globalSettings = Seq(
includeSiteDiagrams := false
)

override lazy val projectSettings = Seq(
scalacOptions in (Compile,doc) ++= Seq(
"-groups",
"-implicits",
"-diagrams",
"-sourcepath", (baseDirectory in ThisBuild).value.getAbsolutePath
),
scalacOptions in (Compile,doc) ++= {
var s =
Seq(
"-groups",
"-implicits",
"-sourcepath", (baseDirectory in ThisBuild).value.getAbsolutePath
)
if (includeSiteDiagrams.value) {
s :+= "-diagrams"
}
s
},
scalacOptions in (Compile,doc) ++= (
(BasicSettings: SettingTemplate).sourceLocation("master") match {
case Some(url) =>

0 comments on commit 5deaa53

Please sign in to comment.
You can’t perform that action at this time.