[PR #7678] [MERGED] docs: add sub-pages to error docs #24390

Closed
opened 2026-04-15 22:20:53 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/7678
Author: @ping-maxwell
Created: 1/29/2026
Status: Merged
Merged: 1/29/2026
Merged by: @himself65

Base: canaryHead: docs/error-sub-pages


📝 Commits (4)

  • dcdb962 docs: add sub-pages to error docs
  • adf2fed chore: remove unused imports
  • 5cbc805 Update side-bar.tsx
  • e80c1b3 fix: sidebar sub-page icons

📊 Changes

2 files changed (+278 additions, -76 deletions)

View changed files

📝 docs/components/side-bar.tsx (+173 -52)
📝 docs/components/sidebar-content.tsx (+105 -24)

📄 Description

Summary by cubic

Added sub-pages under the Errors docs and updated the sidebar to render nested items for each specific error, improving navigation and discoverability. Replaced the old hasSubpages flag with a children-based structure.

  • New Features

    • Sidebar now supports nested items and Updated badges via ContentListItem (children, isUpdated).
    • Introduced contentListItemToPageTreeNode to generate folders/pages from nested items.
    • Added entries for specific error pages (e.g., invalid_callback_request, state_not_found, state_mismatch, and more).
  • Bug Fixes

    • Fixed sidebar sub-page icons to render correctly.

Written for commit e80c1b344e. 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/7678 **Author:** [@ping-maxwell](https://github.com/ping-maxwell) **Created:** 1/29/2026 **Status:** ✅ Merged **Merged:** 1/29/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `docs/error-sub-pages` --- ### 📝 Commits (4) - [`dcdb962`](https://github.com/better-auth/better-auth/commit/dcdb962086bcd7c509ff8e01f07ea1aa009f28bb) docs: add sub-pages to `error` docs - [`adf2fed`](https://github.com/better-auth/better-auth/commit/adf2fedd604c2848793a121f47813cd7d20cac19) chore: remove unused imports - [`5cbc805`](https://github.com/better-auth/better-auth/commit/5cbc805bbf412242998b00b998a584d12854ba50) Update side-bar.tsx - [`e80c1b3`](https://github.com/better-auth/better-auth/commit/e80c1b344ea803230f205de806d2f95bdd103d04) fix: sidebar sub-page icons ### 📊 Changes **2 files changed** (+278 additions, -76 deletions) <details> <summary>View changed files</summary> 📝 `docs/components/side-bar.tsx` (+173 -52) 📝 `docs/components/sidebar-content.tsx` (+105 -24) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Added sub-pages under the Errors docs and updated the sidebar to render nested items for each specific error, improving navigation and discoverability. Replaced the old hasSubpages flag with a children-based structure. - **New Features** - Sidebar now supports nested items and Updated badges via ContentListItem (children, isUpdated). - Introduced contentListItemToPageTreeNode to generate folders/pages from nested items. - Added entries for specific error pages (e.g., invalid_callback_request, state_not_found, state_mismatch, and more). - **Bug Fixes** - Fixed sidebar sub-page icons to render correctly. <sup>Written for commit e80c1b344ea803230f205de806d2f95bdd103d04. 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-15 22:20:53 -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#24390