From 1485bdce329d5502305026173257436fe47caba1 Mon Sep 17 00:00:00 2001 From: Haifeng Li Date: Sat, 5 Dec 2020 12:00:23 -0500 Subject: [PATCH] doc generation --- build.sbt | 8 +++++++- package.sh | 10 ++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index ea930fa81b..4cb8464a27 100644 --- a/build.sbt +++ b/build.sbt @@ -6,7 +6,13 @@ lazy val commonSettings = Seq( organizationHomepage := Some(url("http://haifengl.github.io/")), version := "2.6.0", javacOptions in (Compile, compile) ++= Seq("-source", "1.8", "-target", "1.8", "-encoding", "UTF8", "-g:lines,vars,source", "-Xlint:unchecked"), - javacOptions in (Compile, doc) ++= Seq("-Xdoclint:none"), + javacOptions in (Compile, doc) ++= Seq( + "-source", "1.8", + "-Xdoclint:none", + "--allow-script-in-comments", + "-doctitle", """Smile — Statistical Machine Intelligence and Learning Engine""", + "-bottom", """""" + ), javaOptions in Test ++= Seq("-XX:+UseG1GC", "-XX:MaxRAMPercentage=75", "-XX:InitialRAMPercentage=25"), libraryDependencies += "org.slf4j" % "slf4j-simple" % "1.7.30" % "test", libraryDependencies += "junit" % "junit" % "4.13.1" % "test", diff --git a/package.sh b/package.sh index 673dcea7cc..4adda6d845 100755 --- a/package.sh +++ b/package.sh @@ -16,6 +16,16 @@ rm -rf doc/api/* sbt unidoc mv target/javaunidoc doc/api/java +cd kotlin +gradle dokkaHtml + +cd ../clojure +lein codox + +cd ../web +npx @11ty/eleventy + +cd .. sbt universal:packageBin check_error "sbt universal:packageBin"