- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Scaladoc improvements
Wed, 2011-03-23, 21:43
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