docs: Fix broken tables and stale prop documentation - #612
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Audits the documentation against the library source and closes the drift that had accumulated.
Corrects prop names and values that no longer match the API:
Sortable.Handle'smodeis'fixed-order'rather than'fixed'(the docs contradicted their own live examples),itemPositionsAnimationModeisitemsLayoutTransitionMode, andautoScrollSpeedwas removed in #454 but was still documented and shown as a copy-pasteable snippet.Documents 13 props that were missing entirely, most of them auto scroll settings that were never added after the #454 rewrite, plus the grid horizontal-layout props (
rows,rowHeight), the auto-adjust-offset props, andTouchable'sonDoubleTap.Fixes wrong types and defaults: the auto scroll props were marked
Animatablealthough they are not, item layout animations are nullable, and several defaults disagreed with the source.Also removes an orphaned table fragment that was left behind when #536 inserted the
stackingOrdersection inside theoverflowtable, which rendered as raw markdown on the page.Verified with a full Docusaurus build, which passes with no warnings and, because the site sets
onBrokenLinks: 'throw', also confirms every link still resolves.