[GRASS-dev] descriptions of some add-ons in add-on index

Hi devs,

I have noticed that the description for r.modis in [0] is not correct. It reads:

“r.modis: Vegetation indices”

Where is it taking the description from if there’s no such piece of text in [1]?

In the case of r.green, it takes a number of characters from the DESCRIPTION in [2], but it does not look nice either:

“r.green: r.green computes the residual energy potential of different renewable energies like biomass or hydropower. The tool is organized in the modules r.green.hydro and r.green.biomassfor which are composed of several programs considering different limits (e.g.”

Seems to be something related to groups of add-ons modules (?)

best,

Vero

[0] https://grass.osgeo.org/grass72/manuals/addons/
[1] https://grass.osgeo.org/grass72/manuals/addons/r.modis.html
[2] https://grass.osgeo.org/grass72/manuals/addons/r.green.html

On 10 October 2017 at 09:00, Veronica Andreo <veroandreo@gmail.com> wrote:

Hi devs,

Hi,

I have noticed that the description for r.modis in [0] is not correct. It
reads:

"r.modis: Vegetation indices"

Where is it taking the description from if there's no such piece of text in
[1]?

from the module description "MODIS VI - Vegetation Indices" :slight_smile:

In the case of r.green, it takes a number of characters from the DESCRIPTION
in [2], but it does not look nice either:

"r.green: r.green computes the residual energy potential of different
renewable energies like biomass or hydropower. The tool is organized in the
modules r.green.hydro and r.green.biomassfor which are composed of several
programs considering different limits (e.g."

Seems to be something related to groups of add-ons modules (?)

yes, I think they should follow r.li [3] way without description

I'm looking for a solution like r.li

best,
Vero

[0] https://grass.osgeo.org/grass72/manuals/addons/
[1] https://grass.osgeo.org/grass72/manuals/addons/r.modis.html
[2] https://grass.osgeo.org/grass72/manuals/addons/r.green.html

[3] https://grass.osgeo.org/grass72/manuals/raster.html

--
ciao
Luca

www.lucadelu.org

On Tue, Oct 10, 2017 at 9:20 AM, Luca Delucchi <lucadeluge@gmail.com> wrote:

On 10 October 2017 at 09:00, Veronica Andreo <veroandreo@gmail.com> wrote:

Hi devs,

Hi,

I have noticed that the description for r.modis in [0] is not correct. It
reads:

"r.modis: Vegetation indices"

Where is it taking the description from if there's no such piece of text in
[1]?

from the module description "MODIS VI - Vegetation Indices" :slight_smile:

In the case of r.green, it takes a number of characters from the DESCRIPTION
in [2], but it does not look nice either:

"r.green: r.green computes the residual energy potential of different
renewable energies like biomass or hydropower. The tool is organized in the
modules r.green.hydro and r.green.biomassfor which are composed of several
programs considering different limits (e.g."

... that is not followin the rules and should be shorted.

Seems to be something related to groups of add-ons modules (?)

yes, I think they should follow r.li [3] way without description

I'm looking for a solution like r.li

Well but r.li is lacking a description!
So that's not best practice ...

Solution: do it the g.parser[.html] way.

Best
markus

best,
Vero

[0] https://grass.osgeo.org/grass72/manuals/addons/
[1] https://grass.osgeo.org/grass72/manuals/addons/r.modis.html
[2] https://grass.osgeo.org/grass72/manuals/addons/r.green.html

[3] https://grass.osgeo.org/grass72/manuals/raster.html

--
ciao
Luca

www.lucadelu.org
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

--
Markus Neteler, PhD
http://www.mundialis.de - free data with free software
http://grass.osgeo.org
http://courses.neteler.org/blog

On Tue, Oct 10, 2017 at 9:00 AM, Veronica Andreo <veroandreo@gmail.com> wrote:

Hi devs,

I have noticed that the description for r.modis in [0] is not correct. It
reads:

"r.modis: Vegetation indices"

Where is it taking the description from if there's no such piece of text in
[1]?

In the case of r.green

...

Fixed. In all cases, the full HTML header must be added to the manual
pages since these are meta pages.

Done for r.li, r.modis and r.green.

Markus

[0] https://grass.osgeo.org/grass72/manuals/addons/
[1] https://grass.osgeo.org/grass72/manuals/addons/r.modis.html
[2] https://grass.osgeo.org/grass72/manuals/addons/r.green.html

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-dev

--
Markus Neteler, PhD
http://www.mundialis.de - free data with free software
http://grass.osgeo.org
http://courses.neteler.org/blog

On 12 November 2017 at 15:13, Markus Neteler <neteler@osgeo.org> wrote:

Fixed. In all cases, the full HTML header must be added to the manual
pages since these are meta pages.

Done for r.li, r.modis and r.green.

Thanks

Markus

--
ciao
Luca

www.lucadelu.org