From 0f83b65cb9d79733c6c5dd763eb291323c6add86 Mon Sep 17 00:00:00 2001
From: Casey Burridge <50334390+crbdev@users.noreply.github.com>
Date: Mon, 31 Aug 2026 12:24:48 +0800
Subject: [PATCH] fix: point documentation links at the migrated /docs/ URLs
The user docs moved from docs.gravitykit.com to
www.gravitykit.com/docs/ around 2026-05-01. Every reference here still
pointed at the old subdomain and reached the new pages through a
redirect chain.
The footer entry is the notable one: it renders on every page of the
site, so it was the single largest source of links still aimed at the
old subdomain. The enhance-for-llms.mjs string is baked into the
generated llms.txt, so AI assistants reading it were being sent to the
old host too.
The README @see example is updated to a real current URL so docblocks
copied from it use the new structure -- the new docs have no numeric
/article/ paths.
Co-Authored-By: Claude Opus 5 (1M context)
---
README.md | 4 ++--
docusaurus.config.js | 2 +-
scripts/enhance-for-llms.mjs | 2 +-
src/pages/index.js | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 045a715..fc310e4 100644
--- a/README.md
+++ b/README.md
@@ -203,7 +203,7 @@ For quality API documentation:
* @throws \InvalidArgumentException When entry is missing required fields.
*
* @see \GV\Entry::get_value() For the modern approach.
- * @see https://docs.gravitykit.com/article/123 Full documentation.
+ * @see https://www.gravitykit.com/docs/gravityview/getting-started/how-to-setup-your-first-view/ Full documentation.
*/
```
@@ -663,7 +663,7 @@ npm run hooks:generate
## Support
-- **Main Documentation**: https://docs.gravitykit.com
+- **Main Documentation**: https://www.gravitykit.com/docs/
- **Support Portal**: https://www.gravitykit.com/support/
- **GitHub**: https://github.com/gravitykit
diff --git a/docusaurus.config.js b/docusaurus.config.js
index fcaec1c..0ec972b 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -454,7 +454,7 @@ const config = {
},
{
label: 'Documentation',
- href: 'https://docs.gravitykit.com',
+ href: 'https://www.gravitykit.com/docs/',
},
{
label: 'LLMs.txt',
diff --git a/scripts/enhance-for-llms.mjs b/scripts/enhance-for-llms.mjs
index 8075b9a..ff49e31 100644
--- a/scripts/enhance-for-llms.mjs
+++ b/scripts/enhance-for-llms.mjs
@@ -580,7 +580,7 @@ ${perProductSection}
## Related Resources
-- Main documentation: https://docs.gravitykit.com
+- Main documentation: https://www.gravitykit.com/docs/
- Support: https://www.gravitykit.com/support/
- GitHub: https://github.com/GravityKit
diff --git a/src/pages/index.js b/src/pages/index.js
index 4f8b840..b52e897 100644
--- a/src/pages/index.js
+++ b/src/pages/index.js
@@ -259,7 +259,7 @@ export default function Home() {
Looking for user documentation? Visit the{' '}
-
+
official GravityKit Documentation
.