[PR #4417] [MERGED] docs: use the default search dialog when no api key is provided #5373

Closed
opened 2026-03-13 12:20:39 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/4417
Author: @himself65
Created: 9/4/2025
Status: Merged
Merged: 9/4/2025
Merged by: @himself65

Base: canaryHead: himself65/2025/09/03/docs


📝 Commits (1)

  • 779117d docs: use the default search dialog when no api key is provided

📊 Changes

1 file changed (+3 additions, -1 deletions)

View changed files

📝 docs/app/layout.tsx (+3 -1)

📄 Description

Feedback from Max

Yeah the docs just crashes with an error because I don't have an api key
I think this isn't good... everyone else can't render docs locally now

Summary by cubic

Fall back to the default search dialog when ORAMA_PRIVATE_API_KEY is not set, so docs search works without configuration. When the key is present, we continue using CustomSearchDialog.


🔄 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/4417 **Author:** [@himself65](https://github.com/himself65) **Created:** 9/4/2025 **Status:** ✅ Merged **Merged:** 9/4/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `himself65/2025/09/03/docs` --- ### 📝 Commits (1) - [`779117d`](https://github.com/better-auth/better-auth/commit/779117dc54310edc1b70d7c95a95a4080099ee37) docs: use the default search dialog when no api key is provided ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/app/layout.tsx` (+3 -1) </details> ### 📄 Description Feedback from Max > Yeah the docs just crashes with an error because I don't have an api key > I think this isn't good... everyone else can't render docs locally now <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Fall back to the default search dialog when ORAMA_PRIVATE_API_KEY is not set, so docs search works without configuration. When the key is present, we continue using CustomSearchDialog. <!-- 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-03-13 12:20:39 -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#5373