Single documentation for mixed (Scala/Java) project?

前端 未结 3 2155
忘掉有多难
忘掉有多难 2021-01-04 10:35

For a project with modules in Scala and Java (side by side), how to combine scaladoc with javadoc to provide a single view of the documentation for the project?

(th

3条回答
  •  失恋的感觉
    2021-01-04 11:15

    With Scala 2.8's new scaladoc that will replace the one used with Scala 2.7, the differences will be even more striking. However, there was a request that a function be provided that translated scaladoc into javadoc format, for use by IDEs when displaying help.

    If this function becomes available, then something that generates javadocs from scaladocs would be theoretically feasible.

    But for any of that to become true, the people who have interest in such a thing would have to speak up at the appropriate fora. And, of course, if they are too small a group, it is likely nothing happens unless they do it for themselves.

提交回复
热议问题