mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-07 21:00:30 -06:00
update adoc.tmpl
This commit is contained in:
34
docs/templates/ADOC.tmpl
vendored
34
docs/templates/ADOC.tmpl
vendored
@@ -1,43 +1,47 @@
|
||||
// set the attribute to true or leave empty, true without any quotes.
|
||||
|
||||
:show-deprecation: {{ .HasDeprecations }}
|
||||
|
||||
ifeval::[{show-deprecation} == true]
|
||||
|
||||
[[deprecation-note]]
|
||||
[caption=]
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
| === |
|
||||
| Deprecation Version |
|
||||
| Removal Version |
|
||||
| Deprecation Info |
|
||||
| Deprecation Replacment |
|
||||
|===
|
||||
| Deprecation Version
|
||||
| Removal Version
|
||||
| Deprecation Info
|
||||
| Deprecation Replacment
|
||||
|
||||
{{- range .Deprecations }}
|
||||
| {{ .DeprecationVersion }}
|
||||
| {{ .RemovalVersion }}
|
||||
| {{ .DeprecationInfo }}
|
||||
| {{ .DeprecationReplacement }}
|
||||
| ===
|
||||
{{- end }}
|
||||
|===
|
||||
|
||||
endif::[]
|
||||
|
||||
[caption=]
|
||||
.Environment variables for the {{ .ExtensionName }} service
|
||||
[width="100%",cols="~,~,~,~",options="header"]
|
||||
| === |
|
||||
| Name |
|
||||
| Type |
|
||||
| Default Value |
|
||||
| Description |
|
||||
|===
|
||||
| Name
|
||||
| Type
|
||||
| Default Value
|
||||
| Description
|
||||
|
||||
{{- range .Fields}}
|
||||
:is-deprecated: {{ .IsDeprecated }}
|
||||
| {{- range $i, $value := .EnvVars }}{{- if $i }} + |
|
||||
|
||||
a| {{- range $i, $value := .EnvVars }}{{- if $i }} +
|
||||
{{ end -}}
|
||||
`{{- $value }}`
|
||||
{{- end }} +
|
||||
:is-deprecated: {{ .IsDeprecated }}
|
||||
ifeval::[{is-deprecated} == true]
|
||||
xref:deprecation-note[Deprecation Note]
|
||||
endif::[]
|
||||
endif::[]
|
||||
a| [subs=-attributes]
|
||||
++{{.Type}} ++
|
||||
a| [subs=-attributes]
|
||||
@@ -46,5 +50,5 @@ a| [subs=-attributes]
|
||||
{{.Description}}
|
||||
|
||||
{{- end }}
|
||||
| === |
|
||||
|===
|
||||
|
||||
|
||||
Reference in New Issue
Block a user