Is there a javadoc-like tool for JavaScript comments?

admin

Administrator
Staff member
Is there any tool that converts JavaScript comments to HTML documentation, similar to how Javadoc works for Java?

I work on the Javadoc team at Sun, and we occasionally get asked this question (such as the following) and know of no solution.
This person would like a single tool that documents both JavaScript and Java...

> Hello there.
> Are there plans to provide support for javascript files? I am a writer,
> writing API documentation, and half of my APIs are implemented in Java and
> the rest are implemented/wrapped in JavaScript. I was wondering if this
> feature might be coming soon. Otherwise, I won't be able to depend on
> javadoc for my documentation.

My reply was:
No, there is no plan for Sun to alter javadoc to operate on javascript.
Its design precludes that possibility.

<!-- m --><a class="postlink" href="http://java.sun.com/j2se/javadoc/faq/#otherlanguages">http://java.sun.com/j2se/javadoc/faq/#otherlanguages</a><!-- m -->

-Doug
 
Back
Top