doczjs / docz

✍ It has never been so easy to document your things!
https://docz.site
MIT License
23.63k stars 1.46k forks source link

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

Open An1mus opened 4 years ago

An1mus commented 4 years ago

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?