[GRASS5] 5.7: man pages generated now
glynn at gclements.plus.com
Fri Nov 5 00:49:38 EST 2004
Markus Neteler wrote:
> I have added more 'fakestart' support to various modules.
> Now the list of modules still causing problems is shrinked
> In fact they seem to be all modules not using G_parser().
> Currently I have no idea how to solve this problem.
> Maybe by adding
> char *fakestart;
> /* fake session for HTML generation with parser */
> fakestart = getenv( "GRASS_FAKE_START" );
> if ( fakestart != NULL )
> return 0;
> at the beginning of the related modules (so to exit immediately)?
> And/or: adding some script magic to test for presence of DOCTYPE in
> the generated HTML if, if not present, add generic header/footer.
> In order to get the HTML/MAN pages complete.
The simplest solution is to just manually add the header to the
description.html or <program>.html files for those programs which
don't use G_parser().
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev