Skip to content

Commit

Permalink
Fix mdx-loader options
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens committed Nov 18, 2024
1 parent 155c1ec commit 06a8bff
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/docusaurus-plugin-openapi/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,10 @@ export default function pluginOpenAPI(
recmaPlugins,
beforeDefaultRehypePlugins,
beforeDefaultRemarkPlugins,
staticDirs: siteConfig.staticDirectories.map((dir) =>
resolve(siteDir, dir)
),
siteDir,
markdownConfig: siteConfig.markdown ?? { mdx1Compat: {} },
metadataPath: (mdxPath: string) => {
if (mdxPath.startsWith(dataDir)) {
Expand Down

0 comments on commit 06a8bff

Please sign in to comment.