Skip to content

Update documentation style#235

Merged
haydenbleasel merged 31 commits into
mainfrom
geistdocs
Nov 14, 2025
Merged

Update documentation style#235
haydenbleasel merged 31 commits into
mainfrom
geistdocs

Conversation

@haydenbleasel

Copy link
Copy Markdown
Contributor

No description provided.

@vercel

vercel Bot commented Nov 13, 2025

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
ai-elements-docs Ready Ready Preview Comment Nov 14, 2025 3:32pm
ai-elements-registry Ready Ready Preview Comment Nov 14, 2025 3:32pm

@socket-security

socket-security Bot commented Nov 13, 2025

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedfumadocs-mdx@​13.0.5 ⏵ 13.0.899 +110075 +196 +1100
Updatedfumadocs-core@​16.0.7 ⏵ 16.0.119810076 +196100
Updatedfumadocs-ui@​16.0.7 ⏵ 16.0.119910076 +196100

View full report

@vercel vercel Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔧 Build Fix:

The import path '../../lib/source' is incorrect and should point to '../../lib/geistdocs/source' where the actual source file is located. Additionally, the feed package dependency is missing from the docs app's package.json.

View Details
📝 Patch Details
diff --git a/apps/docs/app/og/route.tsx b/apps/docs/app/og/route.tsx
index 87017af..5aacc11 100644
--- a/apps/docs/app/og/route.tsx
+++ b/apps/docs/app/og/route.tsx
@@ -1,6 +1,6 @@
 import { ImageResponse } from "next/og";
 import type { NextRequest } from "next/server";
-import { source } from "../../lib/source";
+import { source } from "../../lib/geistdocs/source";
 
 const loadGoogleFont = async (font: string, text: string, weights: string) => {
   const url = `https://fonts.googleapis.com/css2?family=${font}:wght@${weights}&text=${encodeURIComponent(text)}`;
diff --git a/apps/docs/package.json b/apps/docs/package.json
index 653e275..d3c036b 100644
--- a/apps/docs/package.json
+++ b/apps/docs/package.json
@@ -21,6 +21,7 @@
     "class-variance-authority": "^0.7.1",
     "dexie": "^4.2.1",
     "dexie-react-hooks": "^4.2.0",
+    "feed": "^5.1.0",
     "fumadocs-core": "16.0.11",
     "fumadocs-mdx": "13.0.8",
     "fumadocs-ui": "16.0.11",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 1f98b57..dd0a0ba 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -74,6 +74,9 @@ importers:
       dexie-react-hooks:
         specifier: ^4.2.0
         version: 4.2.0(@types/react@19.2.2)(dexie@4.2.1)(react@19.2.0)
+      feed:
+        specifier: ^5.1.0
+        version: 5.1.0
       fumadocs-core:
         specifier: 16.0.11
         version: 16.0.11(@types/react@19.2.2)(lucide-react@0.552.0(react@19.2.0))(next@16.0.1(@babel/core@7.28.4)(@opentelemetry/api@1.9.0)(react-dom@19.2.0(react@19.2.0))(react@19.2.0))(react-dom@19.2.0(react@19.2.0))(react@19.2.0)
@@ -3677,6 +3680,10 @@ packages:
       picomatch:
         optional: true
 
+  feed@5.1.0:
+    resolution: {integrity: sha512-qGNhgYygnefSkAHHrNHqC7p3R8J0/xQDS/cYUud8er/qD9EFGWyCdUDfULHTJQN1d3H3WprzVwMc9MfB4J50Wg==}
+    engines: {node: '>=20', pnpm: '>=10'}
+
   fetch-blob@3.2.0:
     resolution: {integrity: sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ==}
     engines: {node: ^12.20 || >= 14.13}
@@ -5339,6 +5346,9 @@ packages:
   sax@1.2.1:
     resolution: {integrity: sha512-8I2a3LovHTOpm7NV5yOyO8IHqgVsfK4+UuySrXU8YXkSRX7k6hCV9b3HrkKCr3nMpgj+0bmocaJJWpvp1oc7ZA==}
 
+  sax@1.4.3:
+    resolution: {integrity: sha512-yqYn1JhPczigF94DMS+shiDMjDowYO6y9+wB/4WgO0Y19jWYk0lQ4tuG5KI7kj4FTp1wxPj5IFfcrz/s1c3jjQ==}
+
   saxes@6.0.0:
     resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==}
     engines: {node: '>=v12.22.7'}
@@ -6085,6 +6095,10 @@ packages:
       utf-8-validate:
         optional: true
 
+  xml-js@1.6.11:
+    resolution: {integrity: sha512-7rVi2KMfwfWFl+GpPg6m80IVMWXLRjO+PxTq7V2CDhoGak0wzYzFgUY2m4XJ47OGdXd8eLE8EmwfAmdjw7lC1g==}
+    hasBin: true
+
   xml-name-validator@5.0.0:
     resolution: {integrity: sha512-EvGK8EJ3DhaHfbRlETOWAS5pO9MZITeauHKJyb8wyajUfQUenkIg2MvLDTZ4T/TgIcm3HU0TFBgWWboAZ30UHg==}
     engines: {node: '>=18'}
@@ -9677,6 +9691,10 @@ snapshots:
     optionalDependencies:
       picomatch: 4.0.3
 
+  feed@5.1.0:
+    dependencies:
+      xml-js: 1.6.11
+
   fetch-blob@3.2.0:
     dependencies:
       node-domexception: 1.0.0
@@ -11871,6 +11889,8 @@ snapshots:
 
   sax@1.2.1: {}
 
+  sax@1.4.3: {}
+
   saxes@6.0.0:
     dependencies:
       xmlchars: 2.2.0
@@ -12662,6 +12682,10 @@ snapshots:
 
   ws@8.18.3: {}
 
+  xml-js@1.6.11:
+    dependencies:
+      sax: 1.4.3
+
   xml-name-validator@5.0.0:
     optional: true
 

Analysis

Module resolution failures prevent Next.js build

What fails: Next.js build fails due to two module resolution errors in the docs app:

  1. ./apps/docs/app/og/route.tsx:3:1 - Can't resolve '../../lib/source'
  2. ./apps/docs/app/rss.xml/route.ts:1:1 - Can't resolve 'feed'

How to reproduce:

cd ./apps/docs && pnpm run build

Result:

Error: Turbopack build failed with 2 errors:
./apps/docs/app/og/route.tsx:3:1
Module not found: Can't resolve '../../lib/source'
./apps/docs/app/rss.xml/route.ts:1:1
Module not found: Can't resolve 'feed'
Fix on Vercel

Comment thread apps/docs/components/geistdocs/docs-page.tsx
Comment thread apps/docs/app/rss.xml/route.ts
Comment thread apps/docs/components/geistdocs/chat.tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant