diff --git a/adev/shared-docs/pipeline/api-gen/rendering/templates/cli-card.tsx b/adev/shared-docs/pipeline/api-gen/rendering/templates/cli-card.tsx index f184d5aeb03..bdf127f34b6 100644 --- a/adev/shared-docs/pipeline/api-gen/rendering/templates/cli-card.tsx +++ b/adev/shared-docs/pipeline/api-gen/rendering/templates/cli-card.tsx @@ -24,14 +24,16 @@ export function CliCard(props: {card: CliCardRenderable}) { {item.aliases?.map((alias) => (
Alias - {alias} + {alias}
))}
- {/* Display the enum values if there are some, else the type expected for the option */} + {/* Display the type expected for the option and the enum values if there are some. */} + Value Type + {item.type} {item.enum ? ( <> Allowed Values @@ -45,10 +47,7 @@ export function CliCard(props: {card: CliCardRenderable}) { ) : ( - <> - Value Type - {item.type} - + <> )} {/* Default Value */} {item.default !== undefined ? Default : <>}