Skip to content

Commit 9cc9458

Browse files
flaviendelangleRich Bustos
authored and
Rich Bustos
committed
[docs] Prepare docs infra for Tree View migration to X (#38202)
1 parent cfa5ab0 commit 9cc9458

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/markdown/parseMarkdown.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,12 @@ function resolveComponentApiUrl(productId, componentPkg, component) {
447447
if (productId === 'x-date-pickers') {
448448
return `/x/api/date-pickers/${kebabCase(component)}/`;
449449
}
450+
if (productId === 'x-charts') {
451+
return `/x/api/charts/${kebabCase(component)}/`;
452+
}
453+
if (productId === 'x-tree-view') {
454+
return `/x/api/tree-view/${kebabCase(component)}/`;
455+
}
450456
if (componentPkg === 'mui-base' || BaseUIReexportedComponents.indexOf(component) >= 0) {
451457
return `/base-ui/react-${kebabCase(component)}/components-api/#${kebabCase(component)}`;
452458
}

0 commit comments

Comments
 (0)