From bf67a219365d63c9430d4935056752859eaeaa8f Mon Sep 17 00:00:00 2001 From: Matt Mayer <152770+matthewmayer@users.noreply.github.com> Date: Fri, 21 Apr 2023 01:44:26 +0700 Subject: docs: strikethrough deprecated methods on api index (#2067) --- scripts/apidoc/apiDocsWriter.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') diff --git a/scripts/apidoc/apiDocsWriter.ts b/scripts/apidoc/apiDocsWriter.ts index c4fcd983..8bb9df5c 100644 --- a/scripts/apidoc/apiDocsWriter.ts +++ b/scripts/apidoc/apiDocsWriter.ts @@ -203,6 +203,7 @@ export function writeApiSearchIndex(pages: ModuleSummary[]): void { headers: module.methods.map((method) => ({ anchor: method.name, text: method.name, + deprecated: !!method.deprecated, })), })), }, -- cgit v1.2.3