Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot set src field in Docz configuration file #2

Open
hanwencheng opened this issue May 4, 2019 · 1 comment
Open

Cannot set src field in Docz configuration file #2

hanwencheng opened this issue May 4, 2019 · 1 comment

Comments

@hanwencheng
Copy link

hanwencheng commented May 4, 2019

Hi, Thanks for the starter kit, it works smoothly.

Recently I met a problem that all the docs in blog file come into the my docs page. So I tried to add the src field in .doczrc, but I got the error like the following:

The plugin "gatsby-theme-docz" created a page with a component that doesn't exist. Missing component is /Users/myusername/Projects/coolest-library/Button.mdx

I even tried a new repository, the error comes once I add the src field.

I have checked the createPage file in gatsby-theme-docz, it seems they do not get options from .doczrc, the related code here: https://github.com/pedronauck/docz/blob/master/core/gatsby-theme-docz/src/node/createPages.js#L28-L37

I updated all the related dependencies to latest one, but the problem has not been solved, so I guess it could be some binding problem with Docz and Gatsby, so I think here it the right place to ask the problem.

@dbenfouzari
Copy link

May we have help ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants