facebook / lexical

Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.
https://lexical.dev
MIT License
17.5k stars 1.45k forks source link

docs: generate packages sidebar from filesystem & group @lexical/react #5931

Closed etrepum closed 3 weeks ago

etrepum commented 3 weeks ago

Compare:

It took a few tries to get this right, but as far as I can tell it matches the expected output now without any unintended changes to the sidebar order or label names.

Something to explore as a separate docs follow-up would be to adjust the font size of the titles on the module pages. Since we are using fully qualified module names, a lot of them wrap at 3rem. That's an easy one for someone else :)

RE #5869 this helps fix up one of the many places that manual configuration is used, and can be done independently from #5876 since this is isolated to lexical-website.

Resolves #5916 Resolves #5913

vercel[bot] commented 3 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lexical ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 20, 2024 11:40pm
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 20, 2024 11:40pm