Template:Src: Difference between revisions
(Doc template) |
Tag: Undo |
||
Line 1: | Line 1: | ||
[https:/ | [https://gitlab.com/qemu-project/{{{repo|qemu}}}/-/blob/master/{{{path}}} {{{description|{{{path}}}}}}]<noinclude> | ||
== Usage == | == Usage == | ||
Line 5: | Line 5: | ||
<pre> | <pre> | ||
{{src|path= | {{src|path=README.rst|description=The main README file}} | ||
</pre> | </pre> | ||
Gives: | Gives: | ||
{{src|path= | {{src|path=README.rst|description=The main README file}} | ||
==== Parameters ==== | ==== Parameters ==== | ||
Line 16: | Line 16: | ||
* path - path to file | * path - path to file | ||
* description (optional) - description of the file | * description (optional) - description of the file | ||
* repo (optional) - which repo (defaults to qemu.git) | |||
[[Category:Template]] | [[Category:Template]] | ||
</noinclude> | </noinclude> |
Latest revision as of 17:02, 15 March 2021
Usage
Link to the source code tree.
{{src|path=README.rst|description=The main README file}}
Gives:
Parameters
* path - path to file * description (optional) - description of the file * repo (optional) - which repo (defaults to qemu.git)