[GRASS-user] Best way to reconnect tables in grass' databse

Glynn Clements glynn at gclements.plus.com
Thu Nov 27 21:52:40 EST 2008


Nikos Alexandris wrote:

> > > This seem to require another treatment... ?
> > >
> > > # editing the file and saving changes
> > > nik at vertical:/usr/local/src/grass6_devel$ nano
> > > scripts/v.db.reconnect.all/v.db.reconnect.all.tmp.html
> > 
> > This is the temporary file, not the file in SVN (which
> > is description.html in 6.x and modulename.html in 7).
> > 
> > Just copy over your changes into the right html file and
> > svn diff will work.
> > 
> > Markus
> 
> Well, I thought so (that description is the file to be edited) but it
> (=description.html) has only one sentence in it:

Yep, that's the one.

Everything prior to the "<H2>DESCRIPTION</H2>" line is generated by
the parser:

	v.db.reconnect.all --html-description

The Makefile rules merge this with the contents of the
description.html file to get the completed HTML documentation.

This approach guarantees that the flags and options at least have
accurate (if somewhat minimal) documentation, even if the rest of the
documentation is hopelessly out of date.

> Anyhow, I'll copy the whole file (I think it's not wrong -- or is it?)

It is. Don't copy the boilerplate from the top of the .tmp.html file
into the description.html file.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list