Template:Src: Difference between revisions
Jump to navigation
Jump to search
(update to GitHub) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly><span class="plainlinks">[https://github.com/OSGeo/grass/blob/{{{ | <includeonly><span class="plainlinks">[https://github.com/OSGeo/grass/blob/{{{branch|master}}}/{{{1}}} {{{1}}}]</span></includeonly><noinclude>GRASS GIS GitHub source code browser link. | ||
Usage: | |||
"master": | |||
<nowiki>{{src|path/filename.c}}</nowiki> | <nowiki>{{src|path/filename.c}}</nowiki> | ||
"release branch": | |||
<nowiki>{{src|path/filename.c|branch=releasebranch_7_8}}</nowiki> | <nowiki>{{src|path/filename.c|branch=releasebranch_7_8}}</nowiki> | ||
Line 11: | Line 15: | ||
* for GRASS 7.8.git use <tt>releasebranch_7_8</tt> | * for GRASS 7.8.git use <tt>releasebranch_7_8</tt> | ||
Examples: | |||
"master": | |||
<nowiki>{{src|raster/r.info/main.c}}</nowiki> | <nowiki>{{src|raster/r.info/main.c}}</nowiki> | ||
Line 18: | Line 24: | ||
: {{src|raster/r.info/main.c}} | : {{src|raster/r.info/main.c}} | ||
"releasebranch_7_8": | |||
<nowiki>{{src|raster/r.info/main.c|branch=releasebranch_7_8}}</nowiki> | |||
creates | |||
: {{src|raster/r.info/main.c|branch=releasebranch_7_8}} | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 08:47, 28 August 2020
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
"releasebranch_7_8":
{{src|raster/r.info/main.c|branch=releasebranch_7_8}}
creates