Skip to content

docs(cli): document missing --javascript option for docusaurus swizzle#12038

Merged
slorber merged 1 commit into
facebook:mainfrom
kiwigitops:docs/cli-swizzle-javascript
May 21, 2026
Merged

docs(cli): document missing --javascript option for docusaurus swizzle#12038
slorber merged 1 commit into
facebook:mainfrom
kiwigitops:docs/cli-swizzle-javascript

Conversation

@kiwigitops

Copy link
Copy Markdown
Contributor

Fixes #12036.

The docusaurus swizzle options table in website/docs/cli.mdx listed --typescript but not --javascript, even though both flags have existed in the CLI since #9681. The companion swizzling.mdx page also has no mention of --javascript/-j, so users had no way to discover the flag short of running docusaurus swizzle --help.

This PR adds a single row to the table.

 | `--typescript` | Swizzle the TypeScript variant component |
+| `--javascript` | Swizzle the JavaScript variant component |
 | `--config` | Path to docusaurus config file, default to `[siteDir]/docusaurus.config.js` |

@meta-cla

meta-cla Bot commented May 18, 2026

Copy link
Copy Markdown

Hi @kiwigitops!

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

netlify Bot commented May 18, 2026

Copy link
Copy Markdown

[V2]

Built without sensitive environment variables

Name Link
🔨 Latest commit 7c28e15
🔍 Latest deploy log https://app.netlify.com/projects/docusaurus-2/deploys/6a0b9daf558d72000892bb17
😎 Deploy Preview https://deploy-preview-12038--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 May 19, 2026
@meta-cla

meta-cla Bot commented May 19, 2026

Copy link
Copy Markdown

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

@slorber slorber left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks 👍

@slorber slorber merged commit 698a159 into facebook:main May 21, 2026
12 of 13 checks passed
@kiwigitops kiwigitops deleted the docs/cli-swizzle-javascript branch May 22, 2026 21:09
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(cli): docusaurus swizzle options table missing --javascript flag

3 participants