- Improve intro sections of API reference to utilize divided columns - Improve the content of the intro sections - Add a new Workflows section to explain the workflows badge and how to use it - Fixes to headings and add anchor for copying the link to a section - Fixes responsiveness of intro sections on mobile devices - Other: fix loading not showing when a sidebar category is opened. Closes DOCS-932, DOCS-934, DOCS-937 Preview: https://api-reference-v2-git-docs-api-ref-intro-fixes-medusajs.vercel.app/v2/api/store
30 lines
818 B
TypeScript
30 lines
818 B
TypeScript
import AreaProvider from "@/providers/area"
|
|
import AdminContent from "../_mdx/admin.mdx"
|
|
import Tags from "@/components/Tags"
|
|
import PageTitleProvider from "@/providers/page-title"
|
|
import { H1 } from "docs-ui"
|
|
|
|
const ReferencePage = async () => {
|
|
return (
|
|
<AreaProvider area={"admin"}>
|
|
<PageTitleProvider>
|
|
<H1 className="!h2-docs scroll-m-56 lg:pl-4" id="introduction">
|
|
Medusa V2 Admin API Reference
|
|
</H1>
|
|
<AdminContent />
|
|
<Tags />
|
|
</PageTitleProvider>
|
|
</AreaProvider>
|
|
)
|
|
}
|
|
|
|
export default ReferencePage
|
|
|
|
export function generateMetadata() {
|
|
return {
|
|
title: `Medusa Admin API Reference`,
|
|
description: `REST API reference for the Medusa v2 admin API, with code snippets and examples.`,
|
|
metadataBase: process.env.NEXT_PUBLIC_BASE_URL,
|
|
}
|
|
}
|