mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-05 19:59:37 -06:00
add IntroductionVersion to global adoc output
Signed-off-by: Christian Richter <crichter@owncloud.com>
This commit is contained in:
@@ -152,6 +152,7 @@ func main() {
|
||||
if len(env.Services) > 1 {
|
||||
tmplValues = append(tmplValues, map[string]interface{}{
|
||||
"Name": env.Name,
|
||||
"IntroductionVersion": env.IntroductionVersion,
|
||||
"Services": env.Services,
|
||||
"Description": env.Description,
|
||||
"DefaultValue": env.DefaultValue,
|
||||
|
||||
4
docs/templates/ADOC_global.tmpl
vendored
4
docs/templates/ADOC_global.tmpl
vendored
@@ -6,6 +6,7 @@
|
||||
[width="100%",cols="30%,25%,~,~,~",options="header"]
|
||||
|===
|
||||
| Name
|
||||
| IV
|
||||
| Services
|
||||
| Type
|
||||
| Default Value
|
||||
@@ -13,6 +14,9 @@
|
||||
{{ range . }}
|
||||
a| `{{ .Name }}`
|
||||
|
||||
a| [subs=-attributes]
|
||||
++{{ .IntroductionVersion }} ++
|
||||
|
||||
a| [subs=attributes+]
|
||||
{{- range .Services}}
|
||||
* xref:{s-path}/{{ . }}.adoc[{{ . }}] +
|
||||
|
||||
Reference in New Issue
Block a user