docs: remove steps from workflows reference overview (#8595)

* docs: remove steps from workflows reference overview

* fix styling of typelist element

* fix categories with no items showing
This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-08-16 12:37:13 +03:00
1 parent f0f83afdd9
commit 559a6d70d9
3 files changed
+4 -8

No files matched your search

@@ -10,4 +10,4 @@ This section of the documentation provides a reference to the workflows created
You can use these workflows in your customizations as well. They're available in the `@medusajs/core-flows` package. You can use these workflows in your customizations as well. They're available in the `@medusajs/core-flows` package.
<ChildDocs childLevel={2} hideItems={["Overview"]} /> <ChildDocs childLevel={2} hideItems={["Overview", "Steps"]} />
@@ -176,12 +176,8 @@ export const ChildDocs = ({
/> />
</> </>
)} )}
{!HeadingComponent && ( {!HeadingComponent && item.type === "link" && (
<Card <Card title={item.title} href={item.path} showLinkIcon={false} />
title={item.title}
href={item.type === "link" ? item.path : ""}
showLinkIcon={false}
/>
)} )}
</React.Fragment> </React.Fragment>
) )
@@ -200,7 +200,7 @@ const TypeListItem = ({
/> />
</CopyButton> </CopyButton>
)} )}
<div className="flex gap-0.75 flex-wrap"> <div className="flex gap-0.75 flex-wrap flex-1">
<InlineCode>{decodeStr(item.name)}</InlineCode> <InlineCode>{decodeStr(item.name)}</InlineCode>
<span className="font-monospace text-compact-small-plus text-medusa-fg-subtle"> <span className="font-monospace text-compact-small-plus text-medusa-fg-subtle">
<MarkdownContent allowedElements={["a"]} unwrapDisallowed={true}> <MarkdownContent allowedElements={["a"]} unwrapDisallowed={true}>