[Nice-commit] Nice/src/nice/tools/doc api.nice,1.1,1.2
Brought to you by:
bonniot
From: <bo...@us...> - 2004-02-14 12:47:27
|
Update of /cvsroot/nice/Nice/src/nice/tools/doc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2837/src/nice/tools/doc Modified Files: api.nice Log Message: Only generate documentation for packages that are available in source form. Index: api.nice =================================================================== RCS file: /cvsroot/nice/Nice/src/nice/tools/doc/api.nice,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** api.nice 14 Feb 2004 01:37:36 -0000 1.1 --- api.nice 14 Feb 2004 12:40:57 -0000 1.2 *************** *** 34,40 **** --- 34,47 ---- } + // We want to "recompile" that is, load from source, all available + // packages, so that we can geenrate documentation for them. + compilation.recompileAll = true; + try { List<bossa.modules.Package> packages = load(compilation, mainPackage); + // Only keep packages that we have the source of. + packages = packages.filter(bossa.modules.Package p => ! p.interfaceFile()); + // Here the real work begins Documenter d = new Documenter(); |