feat(website): parse and show unstable tsdoc tag (#11187)

feat(website): parse and show unstable tsDoc tag
This commit is contained in:
Qjuh
2025-10-22 13:53:56 +02:00
committed by GitHub
parent 68835b3ff7
commit 697556fd16
8 changed files with 59 additions and 2 deletions

View File

@@ -12,6 +12,7 @@ import { ReturnNode } from './ReturnNode';
import { SeeNode } from './SeeNode';
import { SummaryNode } from './SummaryNode';
import { TypeParameterNode } from './TypeParameterNode';
import { UnstableNode } from './UnstableNode';
import { Collapsible, CollapsibleContent, CollapsibleTrigger } from './ui/Collapsible';
import { Tab, TabList, TabPanel, Tabs } from './ui/Tabs';
@@ -70,6 +71,10 @@ async function MethodBodyNode({
<DeprecatedNode deprecatedBlock={method.summary.deprecatedBlock} version={version} />
) : null}
{method.summary?.unstableBlock.length ? (
<UnstableNode unstableBlock={method.summary.unstableBlock} version={version} />
) : null}
{method.summary?.summarySection.length ? (
<SummaryNode node={method.summary.summarySection} padding version={version} />
) : null}