[PR #5491] [MERGED] fix: rename sha to branch and made it canary by default #14283

Closed
opened 2026-04-13 09:23:41 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5491
Author: @max-programming
Created: 10/22/2025
Status: Merged
Merged: 10/22/2025
Merged by: @himself65

Base: canaryHead: bug/docs-remove-sha-commit-from-edit-gh-btn


📝 Commits (2)

  • 1468614 fix: rename sha to branch and made it canary by default
  • 8058622 chore: remove extra whitespace

📊 Changes

2 files changed (+6 additions, -6 deletions)

View changed files

📝 docs/app/docs/[[...slug]]/page.tsx (+1 -1)
📝 docs/components/docs/page.tsx (+5 -5)

📄 Description

Closes #5482


Summary by cubic

Renamed the EditOnGitHub option from sha to branch and set the default to canary, updating usage and URL generation. This removes reliance on VERCEL_GIT_COMMIT_SHA and ensures the Docs “Edit on GitHub” button consistently points to the canary branch.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/5491 **Author:** [@max-programming](https://github.com/max-programming) **Created:** 10/22/2025 **Status:** ✅ Merged **Merged:** 10/22/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `bug/docs-remove-sha-commit-from-edit-gh-btn` --- ### 📝 Commits (2) - [`1468614`](https://github.com/better-auth/better-auth/commit/14686146b284b7521307c7bc334e21c581e5b0cf) fix: rename `sha` to `branch` and made it `canary` by default - [`8058622`](https://github.com/better-auth/better-auth/commit/805862253205b7bee1cc6f44efdbd8a34a909dec) chore: remove extra whitespace ### 📊 Changes **2 files changed** (+6 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `docs/app/docs/[[...slug]]/page.tsx` (+1 -1) 📝 `docs/components/docs/page.tsx` (+5 -5) </details> ### 📄 Description Closes #5482 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Renamed the EditOnGitHub option from sha to branch and set the default to canary, updating usage and URL generation. This removes reliance on VERCEL_GIT_COMMIT_SHA and ensures the Docs “Edit on GitHub” button consistently points to the canary branch. <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-13 09:23:41 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#14283