Aladdin - Scala Bugtracking
[#1051] project: scala-doc priority: medium category: bug
submitter assigned to status date submitted
Nikolay Stephane fixed 2007-04-18 12:47:45.0
subject [contrib #435] scaladoc always mentions "Scala 2"
code
I'm running scaladoc on my source code and the index.html page
always contains this line:

This document is the API specification for Scala 2.

This text appears to be hard coded into DocGenerator.scala:

~/scala-2.4.0 blair$ wcgrep 'This document is the API specification'
./src/compiler/scala/tools/nsc/doc/DocGenerator.scala:246:        This document is the API specification for Scala 2.
./src/compiler/scala/tools/nsc/doc/DocGenerator.scala:652:        This document is the API specification for Scala 2.

Trunk contains similar code, but there is also this:

./src/compiler/scala/tools/nsc/doc/ModelFrames.scala:26:  def rootDesc = <p>This document is the API specification for Scala 2.</p>;

But I didn't see a way to override rootDesc, unless it's from ant.

Regards,
Blair
what happened
what expected
[back to overview]
Changes of this bug report
Nikolay  edited on  2007-04-18 12:48:24.0
contribution #435
Stephane  edited on  2007-04-18 13:02:12.0
Name mismatch between Main.scala def windowTitle = //... def documentTitle = //... and ModelFrames.scala def rootTitle = //... def rootDesc = //...
Sean  edited on  2007-04-22 04:11:29.0
Not sure how Stephane did this before. Re-assigning.
Stephane  edited on  2007-05-01 12:47:46.0
updated options -windowtitle, -doctitle, added options -header, -footer, -top and -bottom