Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Javadoc: generating HTML API docs

Reply
Thread Tools

Javadoc: generating HTML API docs

 
 
bruce phipps
Guest
Posts: n/a
 
      07-07-2004
I am working as a technical author with some developers who have
written some Java packages.

I want to generate API docs similar to the ones distributed by Sun --
HTML format using frames. Click on the class name and the info is
displayed.

Is it possible to do all this using javadoc, or do I need some other
tools.

Links to tutorials etc. are welcome.

Bruce
 
Reply With Quote
 
 
 
 
Phaero
Guest
Posts: n/a
 
      07-07-2004
Javadoc:
http://java.sun.com/j2se/javadoc/index.jsp
Howto:
http://java.sun.com/j2se/javadoc/wri...nts/index.html

/Johan

bruce phipps wrote:

> I am working as a technical author with some developers who have
> written some Java packages.
>
> I want to generate API docs similar to the ones distributed by Sun --
> HTML format using frames. Click on the class name and the info is
> displayed.
>
> Is it possible to do all this using javadoc, or do I need some other
> tools.
>
> Links to tutorials etc. are welcome.
>
> Bruce

 
Reply With Quote
 
 
 
 
Hal Rosser
Guest
Posts: n/a
 
      07-08-2004
Easiest way is to use something like BlueJ (BlueJ.org)

"bruce phipps" <> wrote in message
news: om...
> I am working as a technical author with some developers who have
> written some Java packages.
>
> I want to generate API docs similar to the ones distributed by Sun --
> HTML format using frames. Click on the class name and the info is
> displayed.
>
> Is it possible to do all this using javadoc, or do I need some other
> tools.
>
> Links to tutorials etc. are welcome.
>
> Bruce



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.714 / Virus Database: 470 - Release Date: 7/2/2004


 
Reply With Quote
 
bruce phipps
Guest
Posts: n/a
 
      07-08-2004
Thanks Hal, looks interesting.


> Easiest way is to use something like BlueJ (BlueJ.org)
>
> "bruce phipps" <> wrote in message
> news: om...
> > I am working as a technical author with some developers who have
> > written some Java packages.
> >
> > I want to generate API docs similar to the ones distributed by Sun --
> > HTML format using frames. Click on the class name and the info is
> > displayed.
> >
> > Is it possible to do all this using javadoc, or do I need some other
> > tools.

 
Reply With Quote
 
bruce phipps
Guest
Posts: n/a
 
      07-08-2004
Thanks, Johan. I have looked at those links.
However, I would prefer a step-by-step tutorial on how to build
Sun-style API docs starting from being given the code by a programmer.
Any other good javadoc tutorials on the web?

> Javadoc:
> http://java.sun.com/j2se/javadoc/index.jsp
> Howto:
> http://java.sun.com/j2se/javadoc/wri...nts/index.html
>
> /Johan
>
> bruce phipps wrote:
>
> > I am working as a technical author with some developers who have
> > written some Java packages.
> >
> > I want to generate API docs similar to the ones distributed by Sun --
> > HTML format using frames. Click on the class name and the info is
> > displayed.
> >
> > Is it possible to do all this using javadoc, or do I need some other
> > tools.
> >
> > Links to tutorials etc. are welcome.
> >
> > Bruce

 
Reply With Quote
 
Chris Uppal
Guest
Posts: n/a
 
      07-08-2004
bruce phipps wrote:

> Thanks, Johan. I have looked at those links.
> However, I would prefer a step-by-step tutorial on how to build
> Sun-style API docs starting from being given the code by a programmer.


Since you've said that you are working with some Java programmers, I suggest
you ask one of them to run through the basics with you.

-- chris



 
Reply With Quote
 
Thomas Weidenfeller
Guest
Posts: n/a
 
      07-08-2004
bruce phipps wrote:
> Thanks, Johan. I have looked at those links.
> However, I would prefer a step-by-step tutorial on how to build
> Sun-style API docs starting from being given the code by a programmer.


Where else should it start? You are apparently missing how JavaDoc and
similar tools (doxygen, DOC++, etc.) work:

Someone (a programmer or a tech writer) places documentation in(!) the
source code. Using a thing called an editor . In Java the standard is
that the API documentation is embedded in the source code, it is not
lying around separately. You just add a few additional HTML pages with
general descriptions if you feel like it. You feed the source code
through JavaDoc, and it generates all the nice web pages you are so keen on.

If you want to change the documentation, you drag that particular source
code out of the version control system, and edit the comments containing
the documentation. Then you run JavaDoc on the whole source code again.
When you are satisfied, you put the changed code back into the version
control system.

So you better brace yourself for having to deal with real programmers
and real source if you want to use JavaDoc documentation. Especially,
talk to them so you get the JavaDoc invocation added to the build system
instead of having to run it manually.

/Thomas
 
Reply With Quote
 
Marcin Grunwald
Guest
Posts: n/a
 
      07-08-2004
bruce phipps wrote:

> I am working as a technical author with some developers who have
> written some Java packages.
>
> I want to generate API docs similar to the ones distributed by Sun --
> HTML format using frames. Click on the class name and the info is
> displayed.
>
> Is it possible to do all this using javadoc, or do I need some other
> tools.
>
> Links to tutorials etc. are welcome.
>
> Bruce


Doxygen is my favourite.
Doxygen is a documentation system for C++, C, Java, Objective-C, IDL (Corba
and Microsoft flavors) and to some extent PHP, C# and D.
Usually company uses not only Java but also other languages, thanks to
Doxygen you have one type of documentation for all.

Documentation you can find here:
http://www.stack.nl/~dimitri/doxygen/manual.html

It isn't very easy to use and configure for the first time, but I think it
is worth of sacrifice.
It also draws class diagrams and has simple GUI for configuration.

--
Cheers
grundig
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
no module api file after generating ruby core api Bob Lu Ruby 0 06-25-2009 03:07 AM
Library to parse MS word docs & convert Word docs to PDF KYG C++ 2 08-18-2008 07:08 PM
pydoc - generating HTML docs from string input gregpinero@gmail.com Python 2 11-07-2007 11:22 PM
[newgem] How to generate docs with rake docs ? Stéphane Wirtel Ruby 0 04-19-2007 02:46 PM
Do Printed Word Docs Look Any Differently From PDF Docs? Martin Computer Support 5 09-20-2006 11:06 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57