docs: removed the gatsby storefront guide (#3527)

* docs: removed the gatsby storefront guide

* docs: fixed query value
This commit is contained in:
Shahed Nasser
2023-03-20 19:11:55 +02:00
committed by GitHub
parent 812c8c6abd
commit 7c2bd1f5cf
30 changed files with 87 additions and 196 deletions
-9
View File
@@ -97,15 +97,6 @@ module.exports = {
},
className: 'homepage-sidebar-item'
},
{
type: 'doc',
id: 'starters/gatsby-medusa-starter',
label: 'Gatsby Storefront',
customProps: {
sidebar_icon: 'gatsby'
},
className: 'homepage-sidebar-item'
},
{
type: 'html',
value: 'SDKs',
@@ -0,0 +1,25 @@
import React from "react";
import { useQueryStringValue } from "@docusaurus/theme-common/internal"
import Admonition from "@theme/Admonition"
export default function QueryNote ({
query: {
key,
value = ''
},
//admonition props
admonition,
children
}) {
const queryValue = useQueryStringValue(key)
return (
<>
{queryValue === value && (
<Admonition {...admonition}>
{children}
</Admonition>
)}
</>
)
}
+4
View File
@@ -464,6 +464,10 @@
{
"source": "/introduction",
"destination": "/development/fundamentals/architecture-overview"
},
{
"source": "/starters/gatsby-medusa-starter",
"destination": "/starters/nextjs-medusa-starter?ref=gatsby-medusa-starter"
}
]
}