This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Scaladoc improvements

No replies
Rüdiger Keller
Joined: 2010-01-24,
User offline. Last seen 42 years 45 weeks ago.

Hello Donna,

I created a modification of Scaladoc where the class comment is always
shown in full. Only the linear super types and the known subclasses
are hidden by default. They can be shown/hidden by clicking on a link.

I put my modifications in the attached ZIP file. The only files that
changed are template.css and template.js.

Also, the HTML structure has changed. I supplied both the original
HTML and the modified one for easier diffing. The changes are:

- removed the "shortcomment" div from the class description
- moved the linear super types and known subclasses blocks to the
bottom of the class description and put them inside a new div with id
"superTypesDiv"
- added spans with the new "link" text
- sprinkled some css classes, stirred gently and put it in the oven
for 30 minutes

The attached html files can be opened in a browser as they are, when
extracted together with the lib files.

Please tell me if you have comments, critique or suggestions!

Now I will have a look after the little triangles... may be we need
some help from Mr Javascript to deal with them.

Regards,
Rüdiger

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland