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

Docs: Generation issue of docgenInfo.json on Windows #434

Closed
layershifter opened this issue Aug 24, 2016 · 4 comments
Closed

Docs: Generation issue of docgenInfo.json on Windows #434

layershifter opened this issue Aug 24, 2016 · 4 comments

Comments

@layershifter
Copy link
Member

There are build error of docs on Windows.

image

As @levithomason decided there, generated docgenInfo.json uses only unix-like path delimiter (/) while Windows requires \.

Extracted from #382.

@levithomason
Copy link
Member

I've got a branch going against this issue.

@layershifter
Copy link
Member Author

image

I reopened issue, seems not fixed.

@levithomason
Copy link
Member

levithomason commented Aug 25, 2016

Can you try this in ComponentDescription.js @ line 16?

-const pathSepRegEx = new RegExp(__PATH_SEP__, 'g')
+const pathSepRegEx = new RegExp(_.escapeRegExp(__PATH_SEP__), 'g')

@layershifter
Copy link
Member Author

It works 👍

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

No branches or pull requests

2 participants