Christoph Egger wrote:
>On Tue, 15 May 2001, Stefan Seefeld wrote:
>
>>Also, there exist a number of tools for online browsing of source
>>code, such as used by mozilla, GNOME, the linux kernel, or
>>berlin. It would be a really nice-to-have feature to provide such
>>a tool as well. With this, the documentation page could contain
>>two sets of documents, a set of tutorials, HOWTOs, FAQs, etc., as
>>well as a set of reference manuals and cross referenced and
>>annotated sources (part of which would be the cvsview tool at
>>sourceforge).
>>
>
>If you want to browse the source, I think offering a link to
>
>http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ggi/
>
>should do the job very well.
>
look at what I just proposed. viewcvs is *one* possible view on the
sources. There are others,
which have certain advantages, such as easy searching for file names and
/ or symbols (variables, types).
It is pretty easy to set such a tool up. We use LXR for the berlin
project to do that. It is run by a
crontab job to update a local index map, together with a html'ified
version of the sources, which then is
used by a cgi script. Look at
http://www2.berlin-consortium.org/lxr-mozilla/ for an example. Other
examples
are 'tinderbox' and 'bonsai' from mozilla (and now in use in a variety
of projects, as I pointed out in the other
post).
Regards, Stefan