leonardocxavier / jsdoc-toolkit

Automatically exported from code.google.com/p/jsdoc-toolkit
0 stars 0 forks source link

the constructor link is not useful #215

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Use the jsdoc template and jsdoc_test.js(or other JS file) to generate
the documentation.
2.In Class Summary,the constructor link could not link to the coreect place. 

What is the expected output? What do you see instead?
in Class Circle page,the constructor link should be
"../symbols/Circle.html#constructor"
but it was "../symbols/Circle.html" instead.

Please use labels and text to provide additional information.
I think the code at line 89 of file templates\jsdoc\class.tmpl 
"{+ new Link().toSymbol(data.alias).inner('constructor')+}"
should be 
"{+ new
Link().toSymbol('#constructor').inner('constructor').withText(data.alias)+}"
or else.

Original issue reported on code.google.com by katgao....@gmail.com on 23 Apr 2009 at 3:41

GoogleCodeExporter commented 8 years ago
The bug was in the Link class, it was ignoring the call to inner(). This was 
committed in revision 800 and will be 
in released in version 2.2.2.

Original comment by micmath on 20 Jun 2009 at 8:44