Docs: Sort API package names#7601
Merged
Merged
Conversation
Fixes #7595 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — mechanical alphabetical reordering of the API package listings on the docs site to fix the unsorted layout flagged in #7595.
- Reorder
<h2>blocks inapi.tsx— moves@remotion/elevenlabsbefore@remotion/enable-scss,@remotion/light-leaksbetween@remotion/licensingand@remotion/lottie,@remotion/media-parserbetween@remotion/mediaand@remotion/media-utils,@remotion/sfxand@remotion/starburstinto their alphabetical slots, and@remotion/zod-typesto the end after@remotion/webcodecs. - Reorder sidebar category entries in
sidebars.ts— relocates thelayout-utils,light-leaks,sfx, andstarburstcategories so the non-deprecated package list reads in alphabetical order, leaving the deprecatedmedia-parser/webcodecsblock at the bottom untouched. - Move the
NewVideoTableOfContentsimport inapi.tsx— repositions the@remotion/mediaimport so the import order continues to follow package path rather than alias name, matching the existing convention formedia-parser/media-utils.
I spot-checked the resulting heading order in api.tsx and the category order in the non-deprecated section of sidebars.ts — both are alphabetical (media < media-parser < media-utils, tailwind < tailwind-v4, light-leaks < lottie, etc.). The deprecated section in sidebars.ts and the pre-existing ElevenLabs / EnableScss import-alias swap in api.tsx are unrelated to this PR's scope.
Claude Opus | 𝕏
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Fixes #7595