chore: reorganize docs apps (#7228)

* reorganize docs apps

* add README

* fix directory

* add condition for old docs
This commit is contained in:
Shahed Nasser
2024-05-03 17:36:38 +03:00
committed by GitHub
parent 224ebb2154
commit 4fe28f5a95
6187 changed files with 601447 additions and 598226 deletions

View File

@@ -7,10 +7,10 @@ import {
Note,
Card,
CardList,
LegacyLink,
DetailsSummary,
DetailsProps,
ZoomImg,
Link,
} from "@/components"
import clsx from "clsx"
import { Text } from "@medusajs/ui"
@@ -54,13 +54,12 @@ export const MDXComponents: MDXComponentsType = {
>
{children}
{props.id && (
// TODO replace with Link once we move away from Docusaurus
<LegacyLink
<Link
href={`#${props.id}`}
className="opacity-0 group-hover/h2:opacity-100 transition-opacity ml-docs_0.5 inline-block"
>
#
</LegacyLink>
</Link>
)}
</h2>
)
@@ -81,13 +80,12 @@ export const MDXComponents: MDXComponentsType = {
>
{children}
{props.id && (
// TODO replace with Link once we move away from Docusaurus
<LegacyLink
<Link
href={`#${props.id}`}
className="opacity-0 group-hover/h3:opacity-100 transition-opacity ml-docs_0.5 inline-block"
>
#
</LegacyLink>
</Link>
)}
</h3>
)