Rocco ignores JS code/comments #77
Comments
It should work with anything supported by pygments. Perhaps it's something with the webservice. Mind installing pygments locally and giving that shot? |
Ah, ok, will get a local pygmentization going. Any recommended way for me to simply test the web service for parsing JS, first? |
@jm3 Rocco doesn't detect input file language without def detect_language
@_language ||=
if pygmentize?
%x[pygmentize -N #{@file}].strip.split('+').first
else
"text"
end
end I suggest (forgotten-labors/rocco@13b7975) a basic language detection, since some of defined code styles has keys similar to file extensions. |
It did indeed work with a local pygments install [1]. If there's anything I can do here to help test / verify / document the above, please let me know! [1] http://jm3.github.com/thunderous-configs/en.wikipedia.org.html |
@jm3 You still can generate documentation without
or
|
Is Javascript not one of the languages Rocco will generate docs for? Test run with two trivial example files:
RESULT: generated HTML for ruby file looks fine, generated HTML for js file = no code / comments
The text was updated successfully, but these errors were encountered: