Template:Gitlab zip file: Difference between revisions

Jump to navigation Jump to search
Documentation improvements.
(Improvements to the documentation.)
(Documentation improvements.)
Line 20: Line 20:
== Usage ==
== Usage ==
  {{obr}}'''gitlab zip file'''
  {{obr}}'''gitlab zip file'''
  {{!}} ''proj''       =
  {{!}} proj      =
  {{!}} ''repo''       =
  {{!}} repo      =
  {{!}} ''branch''    =
  {{!}} ''branch''    =
  {{!}} ''commit''    =
  {{!}} ''commit''    =
Line 31: Line 31:
  {{cbr}}
  {{cbr}}


All parameters are optional.
The parameters '''proj''' and '''repo''' are mandatory, all others are optional.


; proj: The name of the project, consisting of a grouping of repositories on the GitLab open source infrastructure.
; proj: The name of the project, consisting of a grouping of repositories on the GitLab open source infrastructure.
Line 39: Line 39:
; branch: The git branch or tag name.  For git tags, simply append <code>/~</code> to the tag name.
; branch: The git branch or tag name.  For git tags, simply append <code>/~</code> to the tag name.


; commit: The commit identifier (git hash).  This defaults to '''next'''.
; commit: The commit identifier (git hash).


; text: Text to display as the link label.  Overrides '''pre'''.
; text: Text to display as the link label.  Overrides '''pre'''.

Navigation menu