Skip to content

Commit

Permalink
doc generation
Browse files Browse the repository at this point in the history
  • Loading branch information
haifengl committed Dec 5, 2020
1 parent 601edce commit 1485bdc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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", """<script src="{@docRoot}/../../js/google-analytics.js" type="text/javascript"></script>"""
),
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",
Expand Down
10 changes: 10 additions & 0 deletions package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 1485bdc

Please sign in to comment.