webdoc-labs / webdoc

Documentation generator for the web
https://www.webdoclabs.com
Other
80 stars 9 forks source link

incorrect class definition for base class (extra free words are added) #188

Closed obiot closed 2 years ago

obiot commented 2 years ago

I noticed that for base class (not inheriting or extending any other class), the generated documentation adds extra words like class MyClass extends implements

example here : https://github.com/melonjs/melonJS/blob/00591ec1e7e0443ef92f58a4224eee1d49381fa2/src/video/renderer.js#L16-L20 producing : http://melonjs.github.io/melonJS/docs/melonjs/Renderer.html

other example: https://github.com/melonjs/melonJS/blob/00591ec1e7e0443ef92f58a4224eee1d49381fa2/src/geometries/poly.js#L5-L15 giving this : http://melonjs.github.io/melonJS/docs/melonjs/Polygon.html

ShukantPal commented 2 years ago

Interesting indeed — I’ll take a look when I come back from vacation

Sent from my iPhone

On Aug 18, 2022, at 2:05 PM, Olivier Biot @.***> wrote:

 I noticed that for base class (not inheriting or extending any other class), the generated documentation adds extra words like class MyClass extends implements

example here : https://github.com/melonjs/melonJS/blob/00591ec1e7e0443ef92f58a4224eee1d49381fa2/src/video/renderer.js#L16-L20 producing : http://melonjs.github.io/melonJS/docs/melonjs/Renderer.html

other example: https://github.com/melonjs/melonJS/blob/00591ec1e7e0443ef92f58a4224eee1d49381fa2/src/geometries/poly.js#L5-L15 giving this : http://melonjs.github.io/melonJS/docs/melonjs/Polygon.html

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.

obiot commented 2 years ago

definitely, enjoy your holiday !

ShukantPal commented 2 years ago

I'll publish a new version of webdoc next week!