[Bf-committers] Example documentation
Fri, 25 Apr 2003 13:48:26 +0200
Seems to be an excellent start.
After all you have know what's there before you start refactoring. For me
the biggest problem with the code is not the structure more that it's so
very hard to understand what things do. One method is to give up
understanding untill a new structure magically appears OR use such a
documentation system to increase global understanding of the code. Moreover,
it's something that can be done! It is possible to take the time to study a
piece of code in blender and work out what it does and it's
responsibilities, (I guess some people are already making good progress in
this), what a shame if that knowledge is not expressed in documentation!
Having all the knowledge in a couple of people's headz is no good. <*waves
This is definately a positive step forward.
It would be great to keep a current Doxygen output on the web. Imagine if
blender had such excellent documentation as QT (which I constantly refer to)
http://doc.trolltech.com/3.0/ Like that stuff is just empowering man...
From: Ton Roosendaal [mailto:firstname.lastname@example.org]
Sent: 25 April 2003 13:34
Subject: Re: [Bf-committers] Example documentation
Interesting result... but this is "documenting" at the lowest level,
meaning adding comments to the code itself. That's essential too,
although it assumes the code itself being structured well!
The main issue to discuss then, is what people think of adding a tool
(doxygen) to interpret c files. Opinions please!
On Friday, Apr 25, 2003, at 02:48 Europe/Amsterdam, Casey Corn wrote:
> Hi all!
> As promised, here is an example of the doxygen system,
> and the methods I propose to use.
> I looked into the way GHOST was documented (thank you
> Laurence Bourn :) and I tried to pattern what I did
> off of that. Since GHOST is mostly c++, I made some
> changes here and there.
> I created a directory called "doxygen" in the
> bf-blender directory (same level as blender, libs, and
> old directories) and put the doxygen config file in
> here (this file could also go in the blender/doc
> directory). This is also where doxygen creates the
> html directory and files. The config file I used is:
> The GHOST project uses a file called ghost_doxygen.in,
> presumably to customize the Doxyfile configuration
> file to enable certain doxygen features. We may want
> to look into doing the same thing.
> I documented the file source/creator/creator.c since I
> had already studied it and new mostly what was
> happening. The commented file is:
> After running "doxygen" in the doxygen directory, the
> output is placed in an appropriate directory: html for
> html docs, latex for latex docs, rtf for rtf docs,
> well you get the idea :). The output generated is:
> Please let me know what you think!
> Do you Yahoo!?
> The New Yahoo! Search - Faster. Easier. Bingo
> Bf-committers mailing list
Ton Roosendaal Blender Foundation email@example.com
Bf-committers mailing list