Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Generate docusaurus sidebars from filesystem #5916

Closed
etrepum opened this issue Apr 18, 2024 · 0 comments · Fixed by #5931
Closed

Docs: Generate docusaurus sidebars from filesystem #5916

etrepum opened this issue Apr 18, 2024 · 0 comments · Fixed by #5931
Labels
enhancement Improvement over existing feature

Comments

@etrepum
Copy link
Collaborator

etrepum commented Apr 18, 2024

RE #5869 the configuration of docusaurus is fairly hard-coded

The packages list should be inferred from the filesystem (docs/files/*.md) rather than hard-coded in sidebars.js. They are all in alphabetical order anyway so we don't need any tricks.

While in there it may be useful to create a @lexical/react category in the API modules section so that they can be presented nicely (#5913). Not sure how much harder docusaurus-plugin-typedoc will make that (#5876 does clean up this part of the config, but I missed the hard-coded sidebar list).

I'll work on it this week, mostly just taking notes here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement over existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant