[PR #7581] [MERGED] docs: move errors content to reference section #15664

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7581
Author: @bytaesu
Created: 1/23/2026
Status: Merged
Merged: 1/23/2026
Merged by: @himself65

Base: canaryHead: 2026-01-24/docs/errors-to-reference


📝 Commits (2)

  • 90e7ad6 docs: move errors content to reference section
  • cd74e5b rename from matchPrefix to hasSubpages

📊 Changes

24 files changed (+105 additions, -42 deletions)

View changed files

📝 docs/app/docs/[[...slug]]/page.tsx (+6 -1)
docs/components/back-link.tsx (+21 -0)
📝 docs/components/side-bar.tsx (+6 -1)
📝 docs/components/sidebar-content.tsx (+8 -0)
📝 docs/components/ui/aside-link.tsx (+5 -2)
📝 docs/content/blogs/1-4.mdx (+1 -1)
docs/content/docs/errors/index.mdx (+0 -21)
📝 docs/content/docs/plugins/i18n.mdx (+1 -1)
📝 docs/content/docs/reference/errors/account_already_linked_to_different_user.mdx (+1 -1)
📝 docs/content/docs/reference/errors/email_doesn't_match.mdx (+1 -1)
📝 docs/content/docs/reference/errors/email_not_found.mdx (+1 -1)
docs/content/docs/reference/errors/index.mdx (+21 -0)
📝 docs/content/docs/reference/errors/invalid_callback_request.mdx (+1 -1)
📝 docs/content/docs/reference/errors/no_callback_url.mdx (+1 -1)
📝 docs/content/docs/reference/errors/no_code.mdx (+1 -1)
📝 docs/content/docs/reference/errors/oauth_provider_not_found.mdx (+1 -1)
📝 docs/content/docs/reference/errors/signup_disabled.mdx (+1 -1)
📝 docs/content/docs/reference/errors/state_mismatch.mdx (+1 -1)
📝 docs/content/docs/reference/errors/state_not_found.mdx (+1 -1)
📝 docs/content/docs/reference/errors/unable_to_get_user_info.mdx (+1 -1)

...and 4 more files

📄 Description

Summary by cubic

Moved error docs to the Reference section and standardized each page to use its error code slug. Improved docs navigation and updated all links to the new path.

  • Refactors

    • Relocated error docs from /docs/errors to /docs/reference/errors with a new index listing codes.
    • Standardized page titles to snake_case error codes and updated links across docs, blog, and the runtime error page.
    • Added a BackLink on error subpages and improved sidebar/aside active state with prefix matching.
  • Migration

    • Update any external links pointing to /docs/errors to /docs/reference/errors.

Written for commit cd74e5b8a2. Summary will update on new commits.


🔄 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/7581 **Author:** [@bytaesu](https://github.com/bytaesu) **Created:** 1/23/2026 **Status:** ✅ Merged **Merged:** 1/23/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `2026-01-24/docs/errors-to-reference` --- ### 📝 Commits (2) - [`90e7ad6`](https://github.com/better-auth/better-auth/commit/90e7ad61f70d6c1876588d11199a142f760e4f24) docs: move errors content to reference section - [`cd74e5b`](https://github.com/better-auth/better-auth/commit/cd74e5b8a24b3b0e44336f21fc82a785fb4fe61a) rename from matchPrefix to hasSubpages ### 📊 Changes **24 files changed** (+105 additions, -42 deletions) <details> <summary>View changed files</summary> 📝 `docs/app/docs/[[...slug]]/page.tsx` (+6 -1) ➕ `docs/components/back-link.tsx` (+21 -0) 📝 `docs/components/side-bar.tsx` (+6 -1) 📝 `docs/components/sidebar-content.tsx` (+8 -0) 📝 `docs/components/ui/aside-link.tsx` (+5 -2) 📝 `docs/content/blogs/1-4.mdx` (+1 -1) ➖ `docs/content/docs/errors/index.mdx` (+0 -21) 📝 `docs/content/docs/plugins/i18n.mdx` (+1 -1) 📝 `docs/content/docs/reference/errors/account_already_linked_to_different_user.mdx` (+1 -1) 📝 `docs/content/docs/reference/errors/email_doesn't_match.mdx` (+1 -1) 📝 `docs/content/docs/reference/errors/email_not_found.mdx` (+1 -1) ➕ `docs/content/docs/reference/errors/index.mdx` (+21 -0) 📝 `docs/content/docs/reference/errors/invalid_callback_request.mdx` (+1 -1) 📝 `docs/content/docs/reference/errors/no_callback_url.mdx` (+1 -1) 📝 `docs/content/docs/reference/errors/no_code.mdx` (+1 -1) 📝 `docs/content/docs/reference/errors/oauth_provider_not_found.mdx` (+1 -1) 📝 `docs/content/docs/reference/errors/signup_disabled.mdx` (+1 -1) 📝 `docs/content/docs/reference/errors/state_mismatch.mdx` (+1 -1) 📝 `docs/content/docs/reference/errors/state_not_found.mdx` (+1 -1) 📝 `docs/content/docs/reference/errors/unable_to_get_user_info.mdx` (+1 -1) _...and 4 more files_ </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Moved error docs to the Reference section and standardized each page to use its error code slug. Improved docs navigation and updated all links to the new path. - **Refactors** - Relocated error docs from /docs/errors to /docs/reference/errors with a new index listing codes. - Standardized page titles to snake_case error codes and updated links across docs, blog, and the runtime error page. - Added a BackLink on error subpages and improved sidebar/aside active state with prefix matching. - **Migration** - Update any external links pointing to /docs/errors to /docs/reference/errors. <sup>Written for commit cd74e5b8a24b3b0e44336f21fc82a785fb4fe61a. Summary will update on new commits.</sup> <!-- 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 10:09:46 -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#15664