Open Tismas opened 3 years ago
I've had similar issues!
Basically, Docz just seems to totally get it's configuration when you try and reference anything a directory above itself. I've received the same GQL errors, along with it "building" properly, only to then display a page that just says "Not Found".
It's unfortunate that the maintainer has seemingly dropped off the planet, as there hasn't been any updates to the repo in quite some time, and especially with Gatsby 3.0 coming out, it may just become stale
This is still very relevant. Setting src
to any value, verified as correct paths (it doesn't throw the path error so it damn well knows it is the correct path as well), simply returns in the GraphQL error, which means it basically didn't find any *.mdx files.'
Bug Report
Describe the bug
Mdx files are not picked up when src is set to parent directory (although they're visible in graphql). Also build takes a very long time like node_modules were getting parsed. With bigger project I had errors from md files in node_modules but I couln't reproduce it here
To Reproduce
Repo: https://github.com/Tismas/docz-problem
Run
yarn && cd docz && yarn && yarn docz:dev
I'm getting this error during bulding process:
Expected behavior
Docz works with parent directory as src and/or I'm able to provide multiple entrypoints like this:
src: ["../package1/src", "../package2/src"]
Node_modules are not getting parsed wherever they areEnvironment
Additional context/Screenshots We have a monorepo and we would like to have docz as one of the lerna packages while keeping mdx files near components in other packages.