docs: preparations for preview (#7267)
* configured base paths + added development banner * fix typelist site url * added navbar and sidebar badges * configure algolia filters * remove AI assistant * remove unused imports * change navbar text and badge * lint fixes * fix build error * add to api reference rewrites * fix build error * fix build errors in user-guide * fix feedback component * add parent title to pagination * added breadcrumbs component * remove user-guide links * resolve todos * fix details about authentication * change documentation title * lint content
This commit is contained in:
1 parent
3e3b8a483f
commit
728c5ee53c
62 files changed
+855
-506
No files matched your search
@@ -1,5 +1,4 @@
|
||||
import { Table } from "docs-ui"
|
||||
import TypeList from "@/components/TypeList"
|
||||
import { Table, TypeList } from "docs-ui"
|
||||
|
||||
export const metadata = {
|
||||
title: `Medusa Admin Configurations`,
|
||||
|
||||
@@ -175,7 +175,9 @@ The client accepts the following options on initialization:
|
||||
</Table.Cell>
|
||||
<Table.Cell>
|
||||
|
||||
A string indicating publishable API key used for storefront requests. You can create a publishable API key either using the [Medusa Admin](!user-guide!/settings/developer/api-key-management) or the [Admin API Routes](https://docs.medusajs.com/api/admin#publishable-api-keys).
|
||||
{/* TODO add link [Medusa Admin](!user-guide!/settings/developer/api-key-management) */}
|
||||
|
||||
A string indicating publishable API key used for storefront requests. You can create a publishable API key either using the Medusa Admin or the [Admin API Routes](https://docs.medusajs.com/api/admin#publishable-api-keys).
|
||||
|
||||
</Table.Cell>
|
||||
<Table.Cell>
|
||||
@@ -408,7 +410,9 @@ You can learn more about publishable API keys and how to use them in [this docum
|
||||
|
||||
### Create a Publishable API Key
|
||||
|
||||
You can create a publishable API key either using the [Admin API Routes](https://docs.medusajs.com/api/admin#publishable-api-keys), or using the [Medusa Admin](!user-guide!/settings/developer/api-key-management).
|
||||
{/* TODO add link [Medusa Admin](!user-guide!/settings/developer/api-key-management) */}
|
||||
|
||||
You can create a publishable API key either using the [Admin API Routes](https://docs.medusajs.com/api/admin#publishable-api-keys), or using the Medusa Admin.
|
||||
|
||||
### Use a Publishable API Key
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import { Inter, Roboto_Mono } from "next/font/google"
|
||||
import Navbar from "@/components/Navbar"
|
||||
import Providers from "@/providers"
|
||||
import "./globals.css"
|
||||
import { TightLayout } from "docs-ui"
|
||||
import { Bannerv2, Breadcrumbs, TightLayout } from "docs-ui"
|
||||
import { config } from "@/config"
|
||||
import clsx from "clsx"
|
||||
import { Feedback } from "@/components/Feedback"
|
||||
@@ -44,9 +44,11 @@ export default function RootLayout({
|
||||
NavbarComponent={Navbar}
|
||||
sidebarProps={{
|
||||
expandItems: true,
|
||||
banner: <Bannerv2 />,
|
||||
}}
|
||||
bodyClassName={clsx(inter.variable, robotoMono.variable)}
|
||||
>
|
||||
<Breadcrumbs />
|
||||
{children}
|
||||
<Feedback className="my-2" />
|
||||
<EditButton />
|
||||
|
||||
@@ -327,7 +327,9 @@ You can learn more about publishable API keys and how to use them in [this docum
|
||||
|
||||
### Create a Publishable API Key
|
||||
|
||||
You can create a publishable API key either using the [Admin API Routes](https://docs.medusajs.com/api/admin#publishable-api-keys), or using the [Medusa Admin](!user-guide!/settings/developer/api-key-management).
|
||||
{/* TODO add link [Medusa Admin](!user-guide!/settings/developer/api-key-management) */}
|
||||
|
||||
You can create a publishable API key either using the [Admin API Routes](https://docs.medusajs.com/api/admin#publishable-api-keys), or using the Medusa Admin.
|
||||
|
||||
### Use a Publishable API Key
|
||||
|
||||
|
||||
Reference in new issue
Block a user