sbtscaladoc

How to reference a class in another project?


I have a multi-project SBT configuration. I have a class my.AClass in project1. What should I add to configuration to make scaladoc as follows

/**
 * [[my.AClass]]
 */
class BClass 

in project2 be successfully compiled by sbt project2/doc?


Solution

  • Are you using https://github.com/sbt/sbt-unidoc ? If not, perhaps it may be the solution you're looking for.