mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-22 05:29:01 -06:00
Move conditional for deprecation Link into go template
Signed-off-by: Christian Richter <crichter@owncloud.com>
This commit is contained in:
5
docs/templates/ADOC.tmpl
vendored
5
docs/templates/ADOC.tmpl
vendored
@@ -38,10 +38,7 @@ a| {{- range $i, $value := .EnvVars }}{{- if $i }} +
|
||||
{{ end -}}
|
||||
`{{- $value }}`
|
||||
{{- end }} +
|
||||
:is-deprecated: {{ .IsDeprecated }}
|
||||
ifeval::[{is-deprecated} == true]
|
||||
xref:deprecation-note[Deprecation Note]
|
||||
endif::[]
|
||||
{{ .DeprecationLink }}
|
||||
a| [subs=-attributes]
|
||||
++{{.Type}} ++
|
||||
a| [subs=-attributes]
|
||||
|
||||
Reference in New Issue
Block a user