[PR #8231] [MERGED] docs: use local source instead of fetch script #16082

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

📋 Pull Request Information

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

Base: canaryHead: cursor/docs-script-local-source-71f2


📝 Commits (4)

  • 1aa61b1 refactor(landing): use local docs instead of remote fetching
  • 5785d79 refactor(landing): configure fumadocs to read docs directly from local repo
  • 58a51cf fix(docs): add package.json with dependencies for MDX content
  • 2937c8f chore(docs): fix package name and remove version

📊 Changes

8 files changed (+29 additions, -77 deletions)

View changed files

docs/package.json (+10 -0)
📝 landing/.gitignore (+0 -4)
📝 landing/next-env.d.ts (+1 -1)
📝 landing/package.json (+1 -2)
landing/scripts/fetch-docs.sh (+0 -66)
📝 landing/source.config.ts (+3 -3)
📝 pnpm-lock.yaml (+13 -1)
📝 pnpm-workspace.yaml (+1 -0)

📄 Description

Refactor documentation fetching script to use local /docs files via symlinks instead of fetching from a remote repository.

The original fetch-docs.sh script was designed to clone documentation from a separate repository. With the documentation content (docs/content) now integrated directly into this repository, the script has been updated to create symlinks to these local files, simplifying the setup and removing redundant remote operations.


Slack Thread

Open in Web Open in Cursor 


🔄 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/8231 **Author:** [@himself65](https://github.com/himself65) **Created:** 3/1/2026 **Status:** ✅ Merged **Merged:** 3/1/2026 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `cursor/docs-script-local-source-71f2` --- ### 📝 Commits (4) - [`1aa61b1`](https://github.com/better-auth/better-auth/commit/1aa61b1e45a84c011ba88b38e1759537b402f816) refactor(landing): use local docs instead of remote fetching - [`5785d79`](https://github.com/better-auth/better-auth/commit/5785d7966e0ef0730bc9fb3597e93e484a666804) refactor(landing): configure fumadocs to read docs directly from local repo - [`58a51cf`](https://github.com/better-auth/better-auth/commit/58a51cf64fd7d697fddf80e22a1f9ec42b0b406e) fix(docs): add package.json with dependencies for MDX content - [`2937c8f`](https://github.com/better-auth/better-auth/commit/2937c8f510a15a5df8b60b37603cafcde9178574) chore(docs): fix package name and remove version ### 📊 Changes **8 files changed** (+29 additions, -77 deletions) <details> <summary>View changed files</summary> ➕ `docs/package.json` (+10 -0) 📝 `landing/.gitignore` (+0 -4) 📝 `landing/next-env.d.ts` (+1 -1) 📝 `landing/package.json` (+1 -2) ➖ `landing/scripts/fetch-docs.sh` (+0 -66) 📝 `landing/source.config.ts` (+3 -3) 📝 `pnpm-lock.yaml` (+13 -1) 📝 `pnpm-workspace.yaml` (+1 -0) </details> ### 📄 Description Refactor documentation fetching script to use local `/docs` files via symlinks instead of fetching from a remote repository. The original `fetch-docs.sh` script was designed to clone documentation from a separate repository. With the documentation content (`docs/content`) now integrated directly into this repository, the script has been updated to create symlinks to these local files, simplifying the setup and removing redundant remote operations. --- [Slack Thread](https://betterauth.slack.com/archives/C0A8B5BARUK/p1772344772658849?thread_ts=1772344772.658849&cid=C0A8B5BARUK) <p><a href="https://cursor.com/agents/bc-0a448b8b-9de0-5df5-8064-296d23d52ea2"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-web-light.png"><img alt="Open in Web" width="114" height="28" src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a href="https://cursor.com/background-agent?bcId=bc-0a448b8b-9de0-5df5-8064-296d23d52ea2"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img alt="Open in Cursor" width="131" height="28" src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</p> --- <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:22:42 -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#16082