Template:Src

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

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

To refer to "master", use:

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

which creates

raster/r.info/main.c


To refer to "releasebranch_7_8", use:

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

which creates

raster/r.info/main.c