Difference between revisions of "Template:Src"

From GRASS-Wiki
Jump to: navigation, search
m
m
Line 1: Line 1:
<includeonly><span class="plainlinks">[http://trac.osgeo.org/grass/browser/grass/{{{branch|trunk}}}/{{{1}}} {{{1}}}]</span></includeonly><noinclude>
+
<includeonly><span class="plainlinks">[http://trac.osgeo.org/grass/browser/grass/{{{branch|trunk}}}/{{{1}}} {{{1}}}]</span></includeonly><noinclude>GRASS Trac SVN source code browser semi-external link. Usage:
 
 
GRASS Trac SVN source code browser semi-external link. Usage:
 
  
 
  <nowiki>{{src|path/filename.c}}</nowiki>
 
  <nowiki>{{src|path/filename.c}}</nowiki>

Revision as of 13:53, 12 February 2013

GRASS Trac SVN source code browser semi-external link. Usage:

{{src|path/filename.c}}

or

{{src|path/filename.c|branch=branches/develbranch_6}}

The default branch is currently set to trunk (GRASS 7)

  • for GRASS 6.5 use branches/develbranch_6
  • for GRASS 6.4 use branches/releasebranch_6_4

For example

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

creates

raster/r.info/main.c