Skip to content

feat(docs): add version support with automated release script#586

Merged
lodev09 merged 7 commits intomainfrom
feat/docs-versioning
Mar 2, 2026
Merged

feat(docs): add version support with automated release script#586
lodev09 merged 7 commits intomainfrom
feat/docs-versioning

Conversation

@lodev09
Copy link
Copy Markdown
Owner

@lodev09 lodev09 commented Mar 2, 2026

Summary

  • Add Docusaurus versioning with a version dropdown (defaults to latest release, with an "Unreleased" option)
  • Add scripts/release.sh that consolidates post-bump tasks (tidy, changelog, docs versioning)
  • Only one versioned snapshot is kept at a time (replaced on each stable release)
  • Pre-releases (beta, alpha, rc) skip docs versioning
  • Navbar: version dropdown on the left, Docs/Blog/Example/Changelog/GitHub on the right
  • Rename site title to "React Native True Sheet"
  • Add Changelog link to navbar

Type of Change

  • New feature
  • Documentation update

Test Plan

  • Verified scripts/release.sh 3.10.0 creates new docs version and replaces old snapshot
  • Verified scripts/release.sh 3.9.10 creates new docs version (patches included)
  • Verified scripts/release.sh 4.0.0-beta.1 skips docs versioning

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 2, 2026

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

Project Deployment Actions Updated (UTC)
react-native-true-sheet Ready Ready Preview, Comment Mar 2, 2026 10:30pm

Request Review

@lodev09 lodev09 merged commit 18c24db into main Mar 2, 2026
6 checks passed
@lodev09 lodev09 deleted the feat/docs-versioning branch March 2, 2026 22:31
@lodev09
Copy link
Copy Markdown
Owner Author

lodev09 commented Apr 3, 2026

🚀 This pull request is included in v3.10.0. See Release 3.10.0 for release notes.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant