From 590de3534165a692e9d16a8c0838fdd99b2ba07e Mon Sep 17 00:00:00 2001 From: Jamie Willis Date: Wed, 17 Mar 2021 18:07:52 +0000 Subject: [PATCH] moved rootdoc --- build.sbt | 2 +- src/main/rootdoc.md => rootdoc.md | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename src/main/rootdoc.md => rootdoc.md (100%) diff --git a/build.sbt b/build.sbt index 203010ff6..c1968ef0c 100644 --- a/build.sbt +++ b/build.sbt @@ -78,7 +78,7 @@ lazy val parsley = crossProject(JSPlatform, JVMPlatform, NativePlatform) scalacOptions ++= Seq("-deprecation", "-unchecked", "-feature"), scalacOptions ++= (if (isDotty.value) Seq("-source:3.0-migration") else Seq.empty), - Compile / doc / scalacOptions ++= Seq("-doc-root-content", s"${(Compile / sourceDirectory).value}/rootdoc.md"), + Compile / doc / scalacOptions ++= Seq("-doc-root-content", s"${baseDirectory.value.getParentFile.getPath}/rootdoc.md"), // Trick from sbt-spiewak: disable dottydoc, which is struggling // with our package object. Compile / doc / sources := { diff --git a/src/main/rootdoc.md b/rootdoc.md similarity index 100% rename from src/main/rootdoc.md rename to rootdoc.md