Skip to content

docs: add package-manager tabs for create-docusaurus#11925

Open
LiuHuaize wants to merge 1 commit intofacebook:mainfrom
LiuHuaize:codex/docs-init-package-manager-tabs
Open

docs: add package-manager tabs for create-docusaurus#11925
LiuHuaize wants to merge 1 commit intofacebook:mainfrom
LiuHuaize:codex/docs-init-package-manager-tabs

Conversation

@LiuHuaize
Copy link
Copy Markdown

Summary

  • add package-manager tabs to the remaining create-docusaurus initialization code blocks in the docs
  • convert the i18n tutorial inline init command into an npm2yarn code block so it renders npm/yarn/pnpm/bun alternatives
  • keep the changes limited to current docs pages under website/docs

Fixes #10355.

Test plan

  • git diff --check
  • npx --yes prettier@2.8.8 --check website/docs/installation.mdx website/docs/typescript-support.mdx website/docs/introduction.mdx website/docs/i18n/i18n-git.mdx website/docs/i18n/i18n-crowdin.mdx website/docs/i18n/i18n-tutorial.mdx website/docs/api/misc/create-docusaurus.mdx

@meta-cla
Copy link
Copy Markdown

meta-cla bot commented Apr 10, 2026

Hi @LiuHuaize!

Thank you for your pull request and welcome to our community.

Action Required

In 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.

Process

In 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 CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 10, 2026

[V2]

Built without sensitive environment variables

Name Link
🔨 Latest commit 0651978
🔍 Latest deploy log https://app.netlify.com/projects/docusaurus-2/deploys/69d8ab8e0fec9a0008c171dc
😎 Deploy Preview https://deploy-preview-11925--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@meta-cla meta-cla bot added the CLA Signed Signed Facebook CLA label Apr 10, 2026
@meta-cla
Copy link
Copy Markdown

meta-cla bot commented Apr 10, 2026

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!

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

Labels

CLA Signed Signed Facebook CLA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: add more package executers

1 participant