-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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
feat(v2): new docusaurus clear command #3446
Conversation
Deploy preview for docusaurus-2 ready! Built with commit 8f91247 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution, but we still need to document the new command in the master docs.
Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com>
Hi @lex111, is here where I should document the new command?, https://v2.docusaurus.io/docs/cli |
Yes, please. |
|
website/docs/cli.md
Outdated
|
||
### `docusaurus clear` | ||
|
||
Remove build artifacts. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to explain in more detail which folders are removed by this command.
Thanks Did some little changes and added more doc, will merge when CI completes |
Thank you :) I've tagged a few starter issues, and guess some of them are still available |
* feat: new docusaurus clear command * Update packages/docusaurus/bin/docusaurus.js Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com> * docs: new docusaurus clear command * fix doc * update monorepo clear cmd * make clear async function wait for deletes to complete + factorize a bit * prettier fix * better clear docs Co-authored-by: Alexey Pyltsyn <lex61rus@gmail.com> Co-authored-by: slorber <lorber.sebastien@gmail.com> Co-authored-by: Sébastien Lorber <slorber@users.noreply.github.com>
Motivation
Implementing a new clear command to help users before reporting bugs as described in #3370
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
yarn start:
No errors found.
yarn clear:
Done message, no errors with the new command.
System complaining because something is missing during run time
yarn start:
Everything is back to normal and working again.
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)