Template:Src

From GRASS-Wiki
Revision as of 01:47, 28 August 2020 by Neteler (talk | contribs)

Jump to: navigation, search

GRASS GIS GitHub source code browser link.

Usage:

"master":

{{src|path/filename.c}}

"release branch":

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

The default is currently set to master (GRASS 7)

  • for GRASS 7.4.git use releasebranch_7_4
  • for GRASS 7.8.git use releasebranch_7_8

Examples:

"master":

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

creates

raster/r.info/main.c


"releasebranch_7_8":

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

creates

raster/r.info/main.c