-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support multi-line/here comments #29
Comments
Supporting multiline comments would indeed make Docco work better with code initially written with JavaDoc/PhpDoc in mind. In that case however we probably want to either ignore or do something smart about lines starting with |
It also doesn't support coffeescript multi line comments: thisIsCode()
###
this is a comment
### this is still the same comment
and still the same
###
thisIsCode() |
In response to @bergie's suggestion for supporting |
@balupton: I don't see your logic there. Sure, This seems to be the very definition of "actual documentation" as you are describing it, so I'm not seeing the logic of how it shouldn't be supported in docco. |
True. I can see it going both ways. |
There has been a potential fix for this issue started in Pull Request #72. |
Multiline comments should be supported, prefixing every line with "#" seems to make no sense. |
Completely breaks standard convention. I mean it's called multi-line comments for a reason. Who seriously comments their code this way? |
Actually, the current state is even worse than that. I've tried using Docco together with CoffeeDoc, with the idea that Docco handles the literal programming part of documenting the internals of my software, and CoffeeDoc provides the API documentation for people who just want to use the library. The problem is that Docco does something rather weird with multiline CoffeeScript commands. The following code (with CoffeeDoc comment):
Gives me:
The problem here being that this part is inside a multi-line comment and should be completely ignored by Docco. |
Javascript multiline comments (/* multiple lines */) still don't seem to be supported by docco. |
@grepic No, the behavior has not been altered—multiline comments are not supported. You can see this is the case in the code itself: https://github.com/jashkenas/docco/blob/master/resources/languages.json |
Agreed, this makes it pretty useless for JS documentation in my opinion |
Does anyone know if support for block (or jsdoc-style) comments (specifically in javascript) is anywhere in the "roadmap" ? |
Closing this issue. For more information please see the comments in pull request #72 |
Was surprised that this was the case. Is this just not done yet, or is there a specific reason why multiline comments aren't supported?
The text was updated successfully, but these errors were encountered: