fix: resolve cp commands duplication in i18n tutorial documentation#11471
fix: resolve cp commands duplication in i18n tutorial documentation#11471aadithyanr wants to merge 1 commit intofacebook:mainfrom
Conversation
- Replace problematic cp -r commands with find-based approach - Fixes issue where recursive copying with glob patterns caused duplication - Updated all versioned documentation files consistently - More reliable and cross-platform solution Fixes facebook#11158
|
Hi @aadithyanr! Thank you for your pull request and welcome to our community. Action RequiredIn order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks! |
|
Unless we find a way to solve this with our CLI, or write docs that work for all OS (see #8704), I'd rather keep the existing docs |
Description
Fixes the duplication issue in i18n tutorial documentation where
cpcommands were causing file duplication due to recursive copying with glob patterns.Changes
cp -r src/pages/**.mdandcp -r src/pages/**.mdxcommandsfindcommand approach for more reliable file copyingTesting
✅ Tested with nested directory structures
✅ Verified no duplication occurs
✅ Confirmed all
.mdand.mdxfiles are copied correctlyFiles Changed
website/docs/i18n/i18n-tutorial.mdxwebsite/versioned_docs/Fixes #11158