| 269 | === Adding description and keywords === |
| 270 | |
| 271 | Each module needs to have a description and at least 3 keywords. Here an example from scripts/g.extension/g.extension.py: |
| 272 | |
| 273 | {{{ |
| 274 | #%module |
| 275 | #% label: Maintains GRASS Addons extensions in local GRASS installation. |
| 276 | #% description: Downloads and installs extensions from GRASS Addons repository or other source into the local GRASS installation or removes installed extensions. |
| 277 | #% keyword: general |
| 278 | #% keyword: installation |
| 279 | #% keyword: extensions |
| 280 | #% keyword: addons |
| 281 | #% keyword: download |
| 282 | #%end |
| 283 | }}} |
| 284 | |
| 285 | Notes: |
| 286 | * the **first** keyword is the module family (**g**.list belongs to "general") which go to the [https://grass.osgeo.org/grass74/manuals/general.html module family index] in the manual |
| 287 | * the **second** keyword is the overall topic which go to the [https://grass.osgeo.org/grass74/manuals/topics.html topic index] in the manual |
| 288 | * the **third* (and more) keyword is describing further keywords which go to the [https://grass.osgeo.org/grass74/manuals/keywords.html keyword index] in the manual |
| 289 | |
| 290 | These index manual pages are autogenerated during the build process of GRASS GIS. |
| 291 | |