adoc helper template fix
This commit is contained in:
Vendored
+4
@@ -1,4 +1,6 @@
|
||||
// set the attribute to true or leave empty, true without any quotes.
|
||||
// if the generated adoc file is used outside tabs, it renders correctly depending on the attribute set.
|
||||
// if inside, you need additioanlly use the xxx_deprecation.adoc file. attributes cant be defined inside tabs.
|
||||
|
||||
:show-deprecation: {{ .HasDeprecations }}
|
||||
|
||||
@@ -23,6 +25,8 @@ ifeval::[{show-deprecation} == true]
|
||||
{{- end }}
|
||||
|===
|
||||
|
||||
{empty} +
|
||||
|
||||
endif::[]
|
||||
|
||||
[caption=]
|
||||
|
||||
Reference in New Issue
Block a user