github.com/lmorg/murex@v0.0.0-20240217211045-e081c89cd4ef/gen/variables-md-doc.tmpl (about) 1 {{ if env "DOCGEN_TARGET=vuepress" }}--- 2 #tag: 3 # - {{ md .CategoryID }} 4 {{ if .Related }}{{ range $i,$a := .Related }}{{ if gt $i 0 }}{{ end }} 5 # - {{ md .Hierarchy }}{{ end }} 6 {{ end }} 7 --- 8 9 {{ end }}# {{ md .Title }} 10 {{ if .Summary }} 11 > {{ md .Summary }}{{ end }} 12 13 ## Description 14 15 {{ md (include .Description) }} 16 17 {{ if .Usage }}## Usage 18 19 {{ md (include .Usage) }}{{ end }}{{ if .Examples }} 20 21 ## Examples 22 23 {{ md (include .Examples) }}{{ end }}{{ if .Detail }} 24 25 ## Detail 26 27 {{ md (include .Detail) }}{{ end }}{{ if .Synonyms }} 28 29 ## Synonyms 30 31 {{ range $i,$a := .Synonyms }}{{ if gt $i 0 }} 32 {{ end }}* `{{ md . }}`{{ end }} 33 {{ end }}{{ if .Related }} 34 35 ## See Also 36 37 {{ range $i,$a := .Related }}{{ if gt $i 0 }} 38 {{ end }}* [{{ md .Title }}](../{{ md .Hierarchy }}.md): 39 {{ md .Summary }}{{ end }}{{ end }} 40 41 <hr/> 42 43 This document was generated from [{{ .SourcePath }}](https://github.com/lmorg/murex/blob/master/{{ .SourcePath }}).