Template:Src: Difference between revisions
Jump to navigation
Jump to search
(Template: update versions) |
(update to GitHub) |
||
Line 1: | Line 1: | ||
<includeonly><span class="plainlinks">[ | <includeonly><span class="plainlinks">[https://github.com/OSGeo/grass/blob/{{{releasebranch_7_8|master}}}/{{{1}}} {{{1}}}]</span></includeonly><noinclude>GRASS GIS GitHub source code browser link. Usage: | ||
<nowiki>{{src|path/filename.c}}</nowiki> | <nowiki>{{src|path/filename.c}}</nowiki> | ||
Line 5: | Line 5: | ||
or | or | ||
<nowiki>{{src|path/filename.c|branch= | <nowiki>{{src|path/filename.c|branch=releasebranch_7_8}}</nowiki> | ||
The default is currently set to '' | The default is currently set to ''master'' (GRASS 7) | ||
* for GRASS 7.4. | * for GRASS 7.4.git use <tt>releasebranch_7_4</tt> | ||
* for GRASS 7. | * for GRASS 7.8.git use <tt>releasebranch_7_8</tt> | ||
For example | For example |
Revision as of 08:45, 28 August 2020
GRASS GIS GitHub source code browser link. Usage:
{{src|path/filename.c}}
or
{{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
For example
{{src|raster/r.info/main.c}}
creates