Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 59492 invoked from network); 29 Nov 2006 09:29:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Nov 2006 09:29:03 -0000 Received: (qmail 35181 invoked by uid 500); 29 Nov 2006 09:29:09 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 35159 invoked by uid 500); 29 Nov 2006 09:29:09 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 35150 invoked by uid 99); 29 Nov 2006 09:29:08 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Nov 2006 01:29:08 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of gcjhd-harmony-dev@m.gmane.org designates 80.91.229.2 as permitted sender) Received: from [80.91.229.2] (HELO ciao.gmane.org) (80.91.229.2) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Nov 2006 01:28:56 -0800 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GpLjo-0002Ru-OI for dev@harmony.apache.org; Wed, 29 Nov 2006 10:28:20 +0100 Received: from msfwpr01.ims.intel.com ([62.118.80.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Nov 2006 10:28:20 +0100 Received: from egor.pasko by msfwpr01.ims.intel.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Nov 2006 10:28:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dev@harmony.apache.org From: Egor Pasko Subject: Re: [doc] No Doxygen reference for code :( Date: 29 Nov 2006 15:29:51 +0600 Lines: 61 Message-ID: References: <523F3D8D8C97554AA47E53DF1A05466A587B5B@nnsmsx411.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: msfwpr01.ims.intel.com User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Sender: news X-Virus-Checked: Checked by ClamAV on apache.org On the 0x230 day of Apache Harmony Salikh Zakirov wrote: > Morozova, Nadezhda wrote: > > I've noticed that there's no API reference documentation for Harmony > > code - generated by Doxygen/Javadoc. I guess many will agree that > > having API reference is very useful and convenient. > > I've tried to build doxygen documentation for the Thread Manager > component of the DRLVM (i.e. drlvm/vm/thread/src/*.[ch] + > drlvm/vm/include/open/*thr*.h). > > I needed to have a Doxyfile and fix a couple of warnings along the way, > please see the patch attached to HARMONY-2351. > > However, the generated documentation was of little use to me, > due to the generated documentation treating all structure members > as 'typedef's, while in fact they are just regular struct fields. > > > 1. Ability to generate docs locally from source code as part of > > build - need to change existing build files or write new ones. > > After adding Doxyfile to drlvm/vm/thread/doc, one can do following: > > $ cd drlvm/vm/thread/doc > $ doxygen > > then browse drlvm/vm/thread/doc/html/index.html > > > 2. Ability to see docs on the website - manually copy a local > > bundle of docs to the website and add a link. Geir has been planning to > > include the website into the next snapshot; supplying ready reference > > with it seem nice. > > Judging from the quality of docs generated from thread manager, > we should *not* publish it on a web-site. why? what can make us hide the most part? we have our sources, ok, not ideally documented, but we will see how to improve them if they are on the website. > The only documentation that may be worth linking is intercomponent header files in: > > drlvm/vm/include/open/ Why should we carefully select "clean" parts and then "publish" them as if we were writing a book? I think, *all code must be documented* more or less. Some more, some less. Making all the project Doxygen docs visible from the website allows: * developers to walk through links, view class diagram charts and find what they want (in latest snapshots) * beginner developers to see the best-documented top-level docs to understand the basic architectural conscepts * all of us to review the documentation *easier*, suggest changes, document more aren't my arguments convincing? :) -- Egor Pasko