From 02b1eea17ba26dc85f852cdcb11b8eb31f026e87 Mon Sep 17 00:00:00 2001 From: Rainnny7 Date: Sat, 20 Apr 2024 01:46:04 -0400 Subject: [PATCH] Update markdown docs path --- Frontend/{src/markdown => }/docs/bob.mdx | 0 Frontend/{src/markdown => }/docs/home.mdx | 0 Frontend/src/app/common/mdxUtils.ts | 4 +--- 3 files changed, 1 insertion(+), 3 deletions(-) rename Frontend/{src/markdown => }/docs/bob.mdx (100%) rename Frontend/{src/markdown => }/docs/home.mdx (100%) diff --git a/Frontend/src/markdown/docs/bob.mdx b/Frontend/docs/bob.mdx similarity index 100% rename from Frontend/src/markdown/docs/bob.mdx rename to Frontend/docs/bob.mdx diff --git a/Frontend/src/markdown/docs/home.mdx b/Frontend/docs/home.mdx similarity index 100% rename from Frontend/src/markdown/docs/home.mdx rename to Frontend/docs/home.mdx diff --git a/Frontend/src/app/common/mdxUtils.ts b/Frontend/src/app/common/mdxUtils.ts index 865fc85..1acd631 100644 --- a/Frontend/src/app/common/mdxUtils.ts +++ b/Frontend/src/app/common/mdxUtils.ts @@ -11,9 +11,7 @@ const METADATA_REGEX: RegExp = /---\s*([\s\S]*?)\s*---/; * display in the docs. */ export const getDocsContent = (): DocsContentMetadata[] => - getMetadata( - path.join(process.cwd(), "src", "markdown", "docs") - ); + getMetadata(path.join(process.cwd(), "docs")); /** * Get the metadata of mdx