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

scripts docs:api remove not exist path #20162

Closed
2 tasks done
ro7584 opened this issue Mar 18, 2020 · 1 comment · Fixed by #20164
Closed
2 tasks done

scripts docs:api remove not exist path #20162

ro7584 opened this issue Mar 18, 2020 · 1 comment · Fixed by #20164
Labels
good first issue Great for first contributions. Enable to learn the contribution process.

Comments

@ro7584
Copy link
Contributor

ro7584 commented Mar 18, 2020

  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

rimraf command remove not exist path.
https://github.com/mui-org/material-ui/blob/master/package.json#L9

Expected Behavior 🤔

According to faca5c4 change docs/pages/api to docs/pages/api-docs
Maybe it should update rimraf command as well.

-"docs:api": "rimraf ./docs/pages/api && cross-env BABEL_ENV=test __NEXT_EXPORT_TRAILING_SLASH=true babel-node ./docs/scripts/buildApi.js ./packages/material-ui/src ./docs/pages/api-docs && cross-env BABEL_ENV=test __NEXT_EXPORT_TRAILING_SLASH=true babel-node ./docs/scripts/buildApi.js ./packages/material-ui-lab/src ./docs/pages/api-docs",
+"docs:api": "rimraf ./docs/pages/api-docs && cross-env BABEL_ENV=test __NEXT_EXPORT_TRAILING_SLASH=true babel-node ./docs/scripts/buildApi.js ./packages/material-ui/src ./docs/pages/api-docs && cross-env BABEL_ENV=test __NEXT_EXPORT_TRAILING_SLASH=true babel-node ./docs/scripts/buildApi.js ./packages/material-ui-lab/src ./docs/pages/api-docs",
@eps1lon eps1lon added good first issue Great for first contributions. Enable to learn the contribution process. worktree labels Mar 18, 2020
@eps1lon
Copy link
Member

eps1lon commented Mar 18, 2020

Feel free to open a PR 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Great for first contributions. Enable to learn the contribution process.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants