From 6ce88bf3b32cb376dee61e53c81bd4fc715f925f Mon Sep 17 00:00:00 2001 From: Andrii Chubatiuk Date: Wed, 25 Sep 2024 20:36:17 +0300 Subject: [PATCH] reverted api docs template change (#1115) --- docs/api.md | 4 ++-- docs/templates/api/type.tpl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api.md b/docs/api.md index 7dd85c8e..d274dc97 100644 --- a/docs/api.md +++ b/docs/api.md @@ -2018,7 +2018,7 @@ _Appears in:_ #### StringOrArray - +_Underlying type:_ _string array_ StringOrArray is a helper type for storing string or array of string. @@ -2337,7 +2337,7 @@ _Appears in:_ #### UpdateStatus - +_Underlying type:_ _string_ UpdateStatus defines status for application diff --git a/docs/templates/api/type.tpl b/docs/templates/api/type.tpl index dccd8c53..3e650408 100644 --- a/docs/templates/api/type.tpl +++ b/docs/templates/api/type.tpl @@ -4,7 +4,7 @@ #### {{ $type.Name }} -{{ if and $type.IsBasic $type.IsAlias }}_Underlying type:_ _{{ markdownRenderTypeLink $type.UnderlyingType }}_{{ end }} +{{ if $type.IsAlias }}_Underlying type:_ _{{ markdownRenderTypeLink $type.UnderlyingType }}_{{ end }} {{ $type.Doc }}