Open
Description
Is your feature request related to a problem?
I'm creating api doc pages for non native english speakers.
In the case of an api marked with deprecated, I have confirmed that the mdx file is created with the warning admonition automatically.
Can I request this by applying new custom markdownGenerators
options?
Describe the solution you'd like
export function createDeprecationNotice({
deprecated,
description,
}: DeprecationNoticeProps) {
return guard(deprecated, () =>
createAdmonition({
children:
description && description.length > 0
? clean(description)
: "This endpoint has been deprecated and may be replaced or removed in future versions of the API.",
})
);
}
I wish there was a good way to customize the automatically generated deprecation message (Please check below example)

Describe alternatives you've considered
Is there any way to customize createDeprecationNotice
function by applying markdownGenerators
option?