Skip to content

[lexical-website] Documentation Update: Consolidate scattered React docs - #8859

Open
anuj-kuralkar wants to merge 1 commit into
facebook:mainfrom
anuj-kuralkar:docs/consolidate-react
Open

[lexical-website] Documentation Update: Consolidate scattered React docs#8859
anuj-kuralkar wants to merge 1 commit into
facebook:mainfrom
anuj-kuralkar:docs/consolidate-react

Conversation

@anuj-kuralkar

Copy link
Copy Markdown

Current behavior: React integration docs are scattered across getting-started/, collaboration/, and extensions/, mixing with Vanilla JS concepts.

Changes added by this PR:

  • Moved files: Relocated getting-started/react.md, collaboration/react.md, and extensions/react.md into docs/react/.
  • Split Migration Guide: Separated docs/extensions/migration.mdx into React (docs/react/migration.mdx) and Vanilla (docs/extensions/migration.mdx) versions.
  • Renamed Headers & Titles: Removed redundant "React" wording from <h1> tags (e.g., # Getting Started with React -> # Getting Started) and updated the React migration guide title to # Migrating to Extensions.
  • Sidebar: Grouped all React docs under a single "React" category in sidebars.js.
  • Validation: Fixed internal relative markdown links so Docusaurus builds cleanly.

Note: This is a structural file reorganization. Core content was not rewritten.

Before

docs/
├── getting-started/
│   └── react.md                  <-- React clutter
│
├── extensions/
│   ├── migration.mdx             <-- Mixes Vanilla & React migration
│   └── react.md                  <-- React clutter
│
├── react/                        <-- Incomplete React folder
│   ├── index.md
│   ├── plugins.md                
│   ├── create_plugin.md
│   └── faq.md
│
└── collaboration/
    └── react.md                  <-- React clutter

After

docs/
├── getting-started/              (React clutter removed)
│
├── extensions/                   
│   └── migration.mdx             (React clutter removed)
│
├── react/                        <-- ALL React integration now lives here
│   ├── index.md                  
│   ├── getting-started.md        (Moved from getting-started/react.md)
│   ├── plugins.md                
│   ├── create_plugin.md          
│   ├── collaboration.md          (Moved from collaboration/react.md)
│   ├── extensions.md             (Moved from extensions/react.md)
│   ├── migration.mdx             (Split from extensions/migration.mdx)
│   └── faq.md
│
└── collaboration/                (React clutter removed)

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 18, 2026
@vercel

vercel Bot commented Jul 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lexical Ready Ready Preview Jul 18, 2026 7:17pm
lexical-playground Ready Ready Preview Jul 18, 2026 7:17pm

Request Review

@etrepum etrepum 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.

I don't think this necessarily makes sense, a reorganization could be done in the context of a larger documentation update but there's not a lot of reason to just move things around.

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

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants