-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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(content-docs): make docs:version command work on localized docs #7106
Conversation
✅ [V2]
To edit notification comments on pull requests, go to your Netlify site settings. |
⚡️ Lighthouse report for the changes in this PR:
Lighthouse ran on https://deploy-preview-7106--docusaurus-2.netlify.app/ |
Size Change: +1.72 kB (0%) Total Size: 805 kB
ℹ️ View Unchanged
|
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.
Thanks!
LGTM 👍
logger.interpolate`${pluginIdLogPrefix}: no docs found in path=${docsDir}.`, | ||
); | ||
} else { | ||
logger.warn`${pluginIdLogPrefix}: no docs found in path=${docsDir}. Skipping.`; |
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.
wonder if this message will not be too aggressive and afraid users they did something wrong
we'll see
Motivation
See #7104
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
Tested locally by creating
i18n/zh-CN/docusaurus-plugin-content-docs/current/foo.md
and runningyarn docusaurus docs:version foo
. Things work as expected.