docz icon indicating copy to clipboard operation
docz copied to clipboard

Error in gatsby-plugin-mdx peer of docz, the plugin is looking into the ignored folders

Open An1mus opened this issue 4 years ago • 0 comments

Adding docz gatsby-theme-docz to an existing gatsby project.

Project structure: docs/ src/ |-blog-posts/ |---article/ |-----article.md

doczrc:

export default {
    title: 'Docs',
    base: '/docs',
    ignore: ['src/', '**/src/**', 'README.md', 'node_modules'],
    menu: ['Get Started'],
}

An error "gatsby-plugin-mdx" threw an error while running the onCreateNode lifecycle occurs for every blog post inside src/blog-posts/**/*.md, when gatsby-theme-docz is installed(the project does not use "gatsby-plugin-mdx").

How to remove/update the plugin? Is there a way to use docz without gatsby-theme-docz?

An1mus avatar Aug 16 '20 09:08 An1mus