[PR #8783] docs: add copy MD link button to view options dropdown #16455

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

Original Pull Request: https://github.com/better-auth/better-auth/pull/8783

State: closed
Merged: Yes


Closes #8680

The raw MD URLs (/llms.txt/docs/<slug>.md) already existed but there was no way to copy them from the UI. This adds a "Copy MD Link" button to the "Open in" dropdown so users can grab the raw markdown URL for any doc page in one click.

Changes

  • New CopyMdLinkButton component added to page.client.tsx
  • rawMdUrl prop added to ViewOptions
  • URL built and passed down from page.tsx

Why

  • Easier to reference multiple doc pages when working with AI agents
  • No more manually constructing URLs or digging through GitHub raw files
Screenshot
**Original Pull Request:** https://github.com/better-auth/better-auth/pull/8783 **State:** closed **Merged:** Yes --- Closes #8680 The raw MD URLs (`/llms.txt/docs/<slug>.md`) already existed but there was no way to copy them from the UI. This adds a "Copy MD Link" button to the "Open in" dropdown so users can grab the raw markdown URL for any doc page in one click. **Changes** - New `CopyMdLinkButton` component added to `page.client.tsx` - `rawMdUrl` prop added to `ViewOptions` - URL built and passed down from `page.tsx` **Why** - Easier to reference multiple doc pages when working with AI agents - No more manually constructing URLs or digging through GitHub raw files <img width="1919" height="871" alt="Screenshot" src="https://github.com/user-attachments/assets/301f944e-e26b-49fe-862d-9bf5c1d3561b" />
GiteaMirror added the pull-request label 2026-04-13 10:31:44 -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#16455