mirror of
https://github.com/vercel/eve.git
synced 2026-09-20 05:35:39 +08:00
bf04750363
Signed-off-by: John Pham <john.pham@vercel.com>
3 lines
166 B
TypeScript
3 lines
166 B
TypeScript
export const getMarkdownRequestedPath = ({ slug }: { slug: string[] }): string =>
|
|
slug[0] === "integrations" ? `/${slug.join("/")}` : ["/docs", ...slug].join("/");
|