[PR #6407] [MERGED] docs: use package-install instead of bash for cli commands #32246

Closed
opened 2026-04-17 23:05:21 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/6407
Author: @jslno
Created: 11/29/2025
Status: Merged
Merged: 12/1/2025
Merged by: @himself65

Base: canaryHead: 11-29-2025/docs-cli-tabs


📝 Commits (1)

  • 12e7954 docs: use package-install instead of bash for cli commands

📊 Changes

24 files changed (+63 additions, -57 deletions)

View changed files

📝 docs/content/docs/adapters/drizzle.mdx (+2 -2)
📝 docs/content/docs/adapters/mssql.mdx (+2 -2)
📝 docs/content/docs/adapters/mysql.mdx (+2 -2)
📝 docs/content/docs/adapters/postgresql.mdx (+2 -3)
📝 docs/content/docs/adapters/prisma.mdx (+1 -1)
📝 docs/content/docs/adapters/sqlite.mdx (+2 -2)
📝 docs/content/docs/concepts/cli.mdx (+5 -5)
📝 docs/content/docs/plugins/2fa.mdx (+3 -3)
📝 docs/content/docs/plugins/admin.mdx (+2 -2)
📝 docs/content/docs/plugins/anonymous.mdx (+2 -2)
📝 docs/content/docs/plugins/api-key.mdx (+2 -2)
📝 docs/content/docs/plugins/creem.mdx (+12 -5)
📝 docs/content/docs/plugins/device-authorization.mdx (+3 -3)
📝 docs/content/docs/plugins/jwt.mdx (+2 -2)
📝 docs/content/docs/plugins/mcp.mdx (+2 -2)
📝 docs/content/docs/plugins/oidc-provider.mdx (+2 -2)
📝 docs/content/docs/plugins/organization.mdx (+2 -2)
📝 docs/content/docs/plugins/passkey.mdx (+2 -2)
📝 docs/content/docs/plugins/phone-number.mdx (+2 -2)
📝 docs/content/docs/plugins/scim.mdx (+3 -3)

...and 4 more files

📄 Description

Before:
Screenshot 2025-11-29 173532
Screenshot 2025-11-29 174518

After:
image
Screenshot 2025-11-29 174551


Summary by cubic

Updated docs to use the package-install code block for CLI commands, so install instructions render with npm/pnpm/yarn tabs and consistent styling across pages. Improves readability in adapters, plugins, and CLI docs.

  • Refactors
    • Replaced bash code fences with package-install in adapter, plugin, and CLI pages.
    • Converted plugin examples to use Tabs with package-install; added migrate/generate tabs in Creem docs.
    • Small formatting cleanups (closing tags, newlines) to keep MDX consistent.

Written for commit 12e795451b. Summary will update automatically 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/6407 **Author:** [@jslno](https://github.com/jslno) **Created:** 11/29/2025 **Status:** ✅ Merged **Merged:** 12/1/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `11-29-2025/docs-cli-tabs` --- ### 📝 Commits (1) - [`12e7954`](https://github.com/better-auth/better-auth/commit/12e795451b6011d12d064271915979b4f1825de2) docs: use `package-install` instead of `bash` for cli commands ### 📊 Changes **24 files changed** (+63 additions, -57 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/adapters/drizzle.mdx` (+2 -2) 📝 `docs/content/docs/adapters/mssql.mdx` (+2 -2) 📝 `docs/content/docs/adapters/mysql.mdx` (+2 -2) 📝 `docs/content/docs/adapters/postgresql.mdx` (+2 -3) 📝 `docs/content/docs/adapters/prisma.mdx` (+1 -1) 📝 `docs/content/docs/adapters/sqlite.mdx` (+2 -2) 📝 `docs/content/docs/concepts/cli.mdx` (+5 -5) 📝 `docs/content/docs/plugins/2fa.mdx` (+3 -3) 📝 `docs/content/docs/plugins/admin.mdx` (+2 -2) 📝 `docs/content/docs/plugins/anonymous.mdx` (+2 -2) 📝 `docs/content/docs/plugins/api-key.mdx` (+2 -2) 📝 `docs/content/docs/plugins/creem.mdx` (+12 -5) 📝 `docs/content/docs/plugins/device-authorization.mdx` (+3 -3) 📝 `docs/content/docs/plugins/jwt.mdx` (+2 -2) 📝 `docs/content/docs/plugins/mcp.mdx` (+2 -2) 📝 `docs/content/docs/plugins/oidc-provider.mdx` (+2 -2) 📝 `docs/content/docs/plugins/organization.mdx` (+2 -2) 📝 `docs/content/docs/plugins/passkey.mdx` (+2 -2) 📝 `docs/content/docs/plugins/phone-number.mdx` (+2 -2) 📝 `docs/content/docs/plugins/scim.mdx` (+3 -3) _...and 4 more files_ </details> ### 📄 Description Before: <img width="576" height="98" alt="Screenshot 2025-11-29 173532" src="https://github.com/user-attachments/assets/79c825db-6bc2-4c11-8ede-de3291ff4e00" /> <img width="626" height="98" alt="Screenshot 2025-11-29 174518" src="https://github.com/user-attachments/assets/035b8818-9962-4f53-b51d-376eca6bbde0" /> After: <img width="580" height="164" alt="image" src="https://github.com/user-attachments/assets/a4be8614-c827-4013-ae06-3ec8eaf89491" /> <img width="622" height="134" alt="Screenshot 2025-11-29 174551" src="https://github.com/user-attachments/assets/5c23f21a-5646-4b71-beca-f8ae5a2ac0f8" /> <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Updated docs to use the package-install code block for CLI commands, so install instructions render with npm/pnpm/yarn tabs and consistent styling across pages. Improves readability in adapters, plugins, and CLI docs. - **Refactors** - Replaced bash code fences with package-install in adapter, plugin, and CLI pages. - Converted plugin examples to use Tabs with package-install; added migrate/generate tabs in Creem docs. - Small formatting cleanups (closing tags, newlines) to keep MDX consistent. <sup>Written for commit 12e795451b6011d12d064271915979b4f1825de2. Summary will update automatically 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-17 23:05:21 -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#32246