473,395 Members | 1,677 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

JavaScript documentation system

We have a JavaScript SDK with lots of classes and functions. We would like to generate automatic HTML documentation from it to our users.
We look for a free tool, something like Doxygen, that knows how to handle JS code.
Do you know of such a tool ?

Jul 23 '05 #1
2 1482
Gil Sudai wrote:
We have a JavaScript SDK with lots of classes and functions. We
would like to generate automatic HTML documentation from it to
our users.We look for a free tool, something like Doxygen, that
knows how to handle JS code.Do you know of such a tool ?


Javadoc might be made to work: <url:
http://java.sun.com/j2se/javadoc/ />

From what little of the documentation I read, at the very least
you will probably need to rename your .js files to .java, run
Javadoc, then rename them back. It's also possible javadoc is
simply incapable of dealing with the structure/syntax of .js
files. But if you want something free, it might be worthwhile
devoting an hour or so of your time to seeing if javadoc will met
your needs without too much work.

--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq

Jul 23 '05 #2
Grant Wagner <gw*****@agricoreunited.com> wrote in message news:<41***************@agricoreunited.com>...
Gil Sudai wrote:
We have a JavaScript SDK with lots of classes and functions. We
would like to generate automatic HTML documentation from it to
our users.We look for a free tool, something like Doxygen, that
knows how to handle JS code.Do you know of such a tool ?


Javadoc might be made to work: <url:
http://java.sun.com/j2se/javadoc/ />

From what little of the documentation I read, at the very least
you will probably need to rename your .js files to .java, run
Javadoc, then rename them back. It's also possible javadoc is
simply incapable of dealing with the structure/syntax of .js
files. But if you want something free, it might be worthwhile
devoting an hour or so of your time to seeing if javadoc will met
your needs without too much work.

I never tried this, but i once tried to clean up formating of js code
wih eclipse java editor and it got confused on some js reserved words,
specially on 'function'....and since I presume the most of commenting
is placed around and about functions, I'm not sure if javadoc will be
able to cope with it....but can't hurt to try :)
Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.