diff options
| author | Matt Mayer <[email protected]> | 2023-04-21 01:44:26 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-20 20:44:26 +0200 |
| commit | bf67a219365d63c9430d4935056752859eaeaa8f (patch) | |
| tree | 5d1a635e038016e56c319a008b51ffc474537654 /scripts | |
| parent | a001ac5cf284d3027b9726f1f1f5f3fa14bc7bf4 (diff) | |
| download | faker-bf67a219365d63c9430d4935056752859eaeaa8f.tar.xz faker-bf67a219365d63c9430d4935056752859eaeaa8f.zip | |
docs: strikethrough deprecated methods on api index (#2067)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/apidoc/apiDocsWriter.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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, })), })), }, |
