Template:Srcdir: Difference between revisions

From ASCEND
Jump to navigation Jump to search
No edit summary
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
[http://ascendcode.cheme.cmu.edu/viewvc/code/trunk/{{{1}}} {{{1}}}]<noinclude>
[{{srctrunk}}/tree/python3/{{{1}}} {{{1}}}]{{srcasterisk}}<noinclude>{{colorbox|#ffffbb|


''This template is used to provide links to ASCEND source code.''
''This template is used to provide links to ASCEND source code.''


Usage: <tt><nowiki>{{src|relative/path/within/trunk.c}}</nowiki></tt>
* Usage: <tt><nowiki>{{src|relative/path/within/trunk.c}}</nowiki></tt>
Example: <tt><nowiki>{{src|models/johnpye/testlog10.a4c}}</nowiki></tt>
* Example: <tt><nowiki>{{src|models/johnpye/testlog10.a4c}}</nowiki></tt>


{{Help/Src}}
{{Help/Src}}
}}</noinclude><includeonly>[[Category:Pages with code links]]</includeonly>

Latest revision as of 23:19, 17 December 2023

{{{1}}}

This template is used to provide links to ASCEND source code.

  • Usage: {{src|relative/path/within/trunk.c}}
  • Example: {{src|models/johnpye/testlog10.a4c}}

See also

This template makes our wiki independent of where the ViewVC server is currently located, since that address can be changed centrally in a single template (either Template:Codeserver or Template:Srctrunk)

See Category:Pages with code links to see (and check) all the resulting links, because they sometimes get messed up. See Category:Pages with code branch links to see (and check) all the resulting links, because they sometimes get messed up.