docs: docs for next release (#13303)
* added draft order plugin docs * fix vale error * added note about draft order being optional * add new shipping option - shipping method link * update user guides * generate * fix github icon * changes to shipping option type * document logger * reorder list * fixes * fixes
This commit is contained in:
@@ -3,7 +3,7 @@ import ReactMarkdown, {
|
||||
Options as ReactMarkdownOptions,
|
||||
Components,
|
||||
} from "react-markdown"
|
||||
import { MDXComponents, Link } from "@/components"
|
||||
import { MDXComponents } from "@/components"
|
||||
import clsx from "clsx"
|
||||
|
||||
export type MarkdownContentProps = ReactMarkdownOptions & {
|
||||
@@ -32,7 +32,6 @@ export const MarkdownContent = ({
|
||||
</pre>
|
||||
)
|
||||
},
|
||||
a: Link,
|
||||
}
|
||||
}
|
||||
{...props}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import React from "react"
|
||||
import { Link } from "../Link"
|
||||
import { Badge } from "../Badge"
|
||||
import { Github } from "@medusajs/icons"
|
||||
import clsx from "clsx"
|
||||
import { GithubIcon } from "../Icons/Github"
|
||||
|
||||
type SourceCodeLinkProps = {
|
||||
link: string
|
||||
@@ -29,7 +29,7 @@ export const SourceCodeLink = ({
|
||||
className="inline-flex hover:bg-medusa-tag-neutral-bg-hover cursor-pointer"
|
||||
childrenWrapperClassName="inline-flex flex-row gap-[3px] items-center"
|
||||
>
|
||||
{icon || <Github />}
|
||||
{icon || <GithubIcon />}
|
||||
<span>{text || "Source Code"}</span>
|
||||
</Badge>
|
||||
</Link>
|
||||
|
||||
Reference in New Issue
Block a user