I have a project written in livescript, which I am currently compiling to javascript in order to use yuidoc.
The docs generate fine, but the rather messy transpiled javascript is included instead of my gorgeous livecript.
If the livescript contains sourcemap json in a comment at the end of each file, wouldn't it be possible to include the original code in the docs? That would be very handy.
YUIDoc is language agnostic (it does not care what language your program is in), it only reads /** ... */ style comments.
Just generate the documentation from your original code :smiley:
I have a project written in livescript, which I am currently compiling to javascript in order to use yuidoc.
The docs generate fine, but the rather messy transpiled javascript is included instead of my gorgeous livecript.
If the livescript contains sourcemap json in a comment at the end of each file, wouldn't it be possible to include the original code in the docs? That would be very handy.