5

I have a parent project with 5 modules. I am trying to figure out how to aggregate the module level scaladoc's into one cohesive site. Any help would be much appreciated.

fbl
  • 2,840
  • 3
  • 33
  • 41

3 Answers3

0

You can do it easily with SBT by integrationg 'Unidoc' into your build:

The maven plugin for scala support aggregation too, but by default only direct module, you can change the default behavior (aggregateDirectOnly, forceAggregate):

Alois Cochard
  • 9,812
  • 2
  • 29
  • 30
  • Thanks for the reply, but that's no farther than I have gotten with simple google searches. Clearly it's possible, but I can't for the life of me figure out how to get the scala maven plugin to do it. To get the 100 bounty, I need a sample pom that clearly shows how it all works. In the mean time, I have a workaround that isn't terrible. – fbl Mar 26 '13 at 13:51
0

Scaladoc2 doesn't support aggregation from multi source/multi classpath (scaladoc run over scalac, so aggregation means a full compilation like if there one big project). And the scala-maven-plugin is mainly a wrapper of the scala commands.

Aggregation is only available to vscaladoc, who is now abandonned.

Sorry

David Bernard
  • 1,560
  • 13
  • 15
0

If aggregating Scala documentation into the overall Java project documentation is an option, see my answer here: https://stackoverflow.com/a/16288487/430128.

Community
  • 1
  • 1
Raman
  • 17,606
  • 5
  • 95
  • 112