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:
@@ -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.
|
||||
|
||||
<ChildDocs childLevel={2} hideItems={["Overview"]} />
|
||||
<ChildDocs childLevel={2} hideItems={["Overview", "Steps"]} />
|
||||
|
||||
@@ -176,12 +176,8 @@ export const ChildDocs = ({
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
{!HeadingComponent && (
|
||||
<Card
|
||||
title={item.title}
|
||||
href={item.type === "link" ? item.path : ""}
|
||||
showLinkIcon={false}
|
||||
/>
|
||||
{!HeadingComponent && item.type === "link" && (
|
||||
<Card title={item.title} href={item.path} showLinkIcon={false} />
|
||||
)}
|
||||
</React.Fragment>
|
||||
)
|
||||
|
||||
@@ -200,7 +200,7 @@ const TypeListItem = ({
|
||||
/>
|
||||
</CopyButton>
|
||||
)}
|
||||
<div className="flex gap-0.75 flex-wrap">
|
||||
<div className="flex gap-0.75 flex-wrap flex-1">
|
||||
<InlineCode>{decodeStr(item.name)}</InlineCode>
|
||||
<span className="font-monospace text-compact-small-plus text-medusa-fg-subtle">
|
||||
<MarkdownContent allowedElements={["a"]} unwrapDisallowed={true}>
|
||||
|
||||
Reference in New Issue
Block a user