mirror of
https://github.com/sbt/sbt.git
synced 2026-09-03 16:39:24 +02:00
`docSetting` has been updated to do both Scaladoc and Javadoc. In Scala/Java hybrid projects, the output docs are rebased to `scala` or `java` sub-directory accordingly. But for pure scala or pure java projects the subdirectories aren't added to becompliant with user expectation as much as possible. We do hybrid mode iff both *.scala and *.java files exist; other doc resources (package.html, *.jpg etc.) don't influence the decision.