[GRASS5] 5.7: man pages generated now
Markus Neteler
neteler at itc.it
Fri Nov 5 06:29:10 EST 2004
On Fri, Nov 05, 2004 at 05:49:38AM +0000, Glynn Clements wrote:
>
> Markus Neteler wrote:
>
> > I have added more 'fakestart' support to various modules.
> > Now the list of modules still causing problems is shrinked
> > to
>
> [snip]
>
> > 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().
Done.
Markus
More information about the grass-dev
mailing list