typedoc2md / typedoc-plugin-markdown

A plugin for TypeDoc that enables TypeScript API documentation to be generated in Markdown.
https://typedoc-plugin-markdown.org
MIT License
725 stars 177 forks source link

groupHeading no more respected when hideGroupHeading is true #716

Open Huxpro opened 2 weeks ago

Huxpro commented 2 weeks ago

What package is the bug related to?

typedoc-plugin-markdown

Describe the issue

The source code is something like

interface ButtonProps;
interface ButtonRef;
export function Button (){..};
export type { ButtonProps, ButtonRef };

It was correctly generating Function prior to interfaces. But when hideGroupHeadings: true is present. The groupHeading doesn't seem to be respected.

See the generated catelog:

image

TypeDoc configuration

groupOrder: ['Function', 'Interface', '*'],
outputFileStrategy: 'modules',
hideGroupHeadings: true,

Expected behavior

groupOrder is still respected when hideGroupHeading is given true