From 217377b82ea2978354f4ecd475047f9cde221166 Mon Sep 17 00:00:00 2001 From: Benny Powers Date: Thu, 5 Dec 2024 16:55:29 +0200 Subject: [PATCH] docs(tokens): print all category descriptions --- docs/_includes/layouts/pages/tokens.11ty.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_includes/layouts/pages/tokens.11ty.ts b/docs/_includes/layouts/pages/tokens.11ty.ts index ab5291210d..7f511bcdf7 100644 --- a/docs/_includes/layouts/pages/tokens.11ty.ts +++ b/docs/_includes/layouts/pages/tokens.11ty.ts @@ -365,7 +365,7 @@ export default class TokensPage extends Renderer { `; - const description = options.tokens._?.$description ?? options.tokens.$description ?? ''; + const description = `${options.tokens.$description ?? ''}\n\n${options.tokens._?.$description ?? ''}`.trim(); return html` ${permalink}
${await this.renderTemplate(description, 'md')}