Software documentation...

B

barcaroller

I'm looking for a free software documentation tool that works equally well
with C and C++. The ones I have found so far with Google are:

- Doxygen
- Robodoc
- Natural Docs

There probably are more. Does anyone have any recommendations regarding
these (and other) software documentation tools?
 
M

Mike Wahler

barcaroller said:
I'm looking for a free software documentation tool that works equally well
with C and C++. The ones I have found so far with Google are:

- Doxygen
- Robodoc
- Natural Docs

There probably are more. Does anyone have any recommendations regarding
these

Try them out and determine if one or more of them fill your needs.
(and other) software documentation tools?

Visit www.google.com and search.

Rinse, repeat.

-Mike
 
J

jacob navia

barcaroller a écrit :
I'm looking for a free software documentation tool that works equally well
with C and C++. The ones I have found so far with Google are:

- Doxygen
- Robodoc
- Natural Docs

There probably are more. Does anyone have any recommendations regarding
these (and other) software documentation tools?
All those automatic documentation tools never replace
WRITING THE DOCS, even if they are in text format.

What bothers me is that people think they can save themselves
the work of writing the documentation by throwing a
few megabytes of automatically generated rubbish
at the unaware user, that thinks that there is
a documentation when in reality there is NONE.

NO, it is not enough to know that void fnx(int)
is defined in file fnx.c and it is used in
( stupid list of 20 files deleted)

NO, it is necessary to know what that dammed function DOES
and that will never be written by doxygen or similar
tools.

The IDE of lcc-win32 had a module that wrote automatically
the documentation like doxygen. I eliminated it because of
this considerations: it would never say anything more than
what GREP would say anyway.

jacob
 
R

R.Biloti

barcaroller escreveu:
I'm looking for a free software documentation tool that works equally well
with C and C++. The ones I have found so far with Google are:

- Doxygen
- Robodoc
- Natural Docs

There probably are more. Does anyone have any recommendations regarding
these (and other) software documentation tools?

I have been using Natural Docs to document my C codes. Its main feature
is that it is **natural**. There is almost no strict syntax to write
the comments NA will parse, so your code remains clean. I have tried
doxygen years before, and NA is definitely better for my purposes.

Cheers,
Ricardo Biloti
 
G

Giannis Papadopoulos

jacob said:
What bothers me is that people think they can save themselves
the work of writing the documentation by throwing a
few megabytes of automatically generated rubbish
at the unaware user, that thinks that there is
a documentation when in reality there is NONE.

However, when you create libraries, they are indeed really useful.
 
R

Randy Howard

jacob navia wrote
(in article said:
NO, it is necessary to know what that dammed function DOES
and that will never be written by doxygen or similar
tools.

All of this thread is OT here, but from the above it appears you
haven't spent very long (if any) with doxygen. It *can* be used
to generate useful documentation. To do so, you simply add
comments formatted correctly for its consumption, and out comes
what amounts to detailed man pages.
 
C

Chuck F.

Randy said:
All of this thread is OT here, but from the above it appears you
haven't spent very long (if any) with doxygen. It *can* be
used to generate useful documentation. To do so, you simply add
comments formatted correctly for its consumption, and out comes
what amounts to detailed man pages.

As far as I am concerned things like doxygen are simply a means of
maintaining documentation in the same source file as the code.
This can negatively affect the understandability of the docs,
especially if the actual code is poorly structured. There is no
magic involved.

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell.org/google/>
 
R

Randy Howard

Chuck F. wrote
(in article said:
As far as I am concerned things like doxygen are simply a means of
maintaining documentation in the same source file as the code.

Correct. It is easier to keep the docs in sync with the code
when they are side by side, but still not foolproof.
This can negatively affect the understandability of the docs,
especially if the actual code is poorly structured.

Even in 2006, there is still no cure for poorly structured code.
Oh well...
There is no magic involved.

Was magic implied?
 
C

Chuck F.

Randy said:
Correct. It is easier to keep the docs in sync with the code
when they are side by side, but still not foolproof.


Even in 2006, there is still no cure for poorly structured code.
Oh well...


Was magic implied?

I think some people are expecting to take their source file, as it
stands, feed it into doxygen or the like, and receive an impressive
and accurate documentation file. That may require several wands.

--
"If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers." - Keith Thompson
More details at: <http://cfaj.freeshell.org/google/>
 
R

Richard Bos

Chuck F. said:
As far as I am concerned things like doxygen are simply a means of
maintaining documentation in the same source file as the code.
This can negatively affect the understandability of the docs,

....and also the understandability of the code...
especially if the actual code is poorly structured.

....especially if the documentation is overly voluble, mixes user-level
descriptions with programmer-aimed explanation, or is simply poorly
written.

Richard
 
R

Randy Howard

Chuck F. wrote
(in article said:
Randy Howard wrote:

I think some people are expecting to take their source file, as it
stands, feed it into doxygen or the like, and receive an impressive
and accurate documentation file.

Oh. That would be silly.
That may require several wands.

Yes.

I find doxygen (and similar tools) to be handy for developing
"man page" type documentation for specific functions, most
usefully with library interfaces.

Overall "user guide" type documentation would be better served
coming about through other means. But to track function
specifics, it is quite useful. It is not an automatic, complete
manual generator, and certainly not without a lot of extra work
in the source file(s).
 
M

Michael Wojcik

Chuck F. wrote


Oh. That would be silly.

Indeed (though there will always be plenty of believers in silver
bullets). However, Doxygen will serve as a decent source browser
when run against unannotated source; some people find that useful,
though it has little to do with creating documentation.
I find doxygen (and similar tools) to be handy for developing
"man page" type documentation for specific functions, most
usefully with library interfaces.

More generally, source code annotation - except perhaps at the
literate-programming fringe - seems inherently better suited to
producing reference material than introductions, guides, and the
like; it inevitably incorporates some of the structure of the code.
(Literate programming only avoids this problem, if it does at all,
by subordinating the structure of the code to that of the document;
it's debatable whether that's a better trade-off.)

But Doxygen isn't limited to generating documentation from annotated
source code; it can incorporate documentation from separate files,
and there's no reason why you can't use it to prepare non-reference
documentation.

Doxygen is a documentation-preparation system that can derive some
information from source code - no more and no less.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top