Skip to content

Commit 9f071fc

Browse files
committed
#349 Avoid messy Scaladoc by excluding things that are not intended to be used directly by normal Xitrum users
1 parent 813d644 commit 9f071fc

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build.sbt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ libraryDependencies <+= scalaVersion { sv => "org.scala-lang" % "scalap" % sv }
8181

8282
//------------------------------------------------------------------------------
8383

84+
// Avoid messy Scaladoc by excluding things that are not intended to be used
85+
// directly by normal Xitrum users.
86+
scalacOptions in (Compile, doc) ++= Seq("-skip-packages", "xitrum.sockjs")
87+
8488
// Skip API doc generation to speedup "publish-local" while developing.
8589
// Comment out this line when publishing to Sonatype.
8690
publishArtifact in (Compile, packageDoc) := false

dev/build.sbt.end

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11

2-
// Ignore Java annotations to avoid Scaladoc crash
3-
// (Commented out because Java annotations have been replaced with Scala ones)
4-
//scalacOptions in (Compile, doc) ++= Seq("-skip-packages", "xitrum.annotation")
5-
62
// Add diagrams to Scaladoc, graphviz is required
73
scalacOptions in (Compile, doc) += "-diagrams"
84

0 commit comments

Comments
 (0)