Template:Src

From GRASS-Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

GRASS GIS GitHub source code browser link.

Usage

"master":

{{src|path/filename.c}}

"release branch":

{{src|path/filename.c|branch=releasebranch_8_3}}

The default is currently set to master (GRASS GIS 8)

  • for GRASS 8.3.git use releasebranch_8_3
  • for GRASS 7.8.git use releasebranch_7_8

Examples

To refer to "master", use:

{{src|raster/r.info/main.c}}

which creates

raster/r.info/main.c


To refer to "releasebranch_8_3", use:

{{src|raster/r.info/main.c|branch=releasebranch_8_3}}

which creates

raster/r.info/main.c