Skip to content

Commit 023ebdd

Browse files
authored
Merge pull request #37 from lightfastai/jeevanpillay/better-docs-seo
docs: Update package dependencies and enhance layout metadata
2 parents 1396bf8 + e0e979f commit 023ebdd

19 files changed

+435
-156
lines changed

docs/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"license": "ISC",
2020
"packageManager": "[email protected]",
2121
"dependencies": {
22+
"@t3-oss/env-nextjs": "^0.13.4",
2223
"@tailwindcss/postcss": "^4.1.7",
2324
"@types/mdx": "^2.0.13",
2425
"autoprefixer": "10.4.21",
@@ -34,7 +35,8 @@
3435
"react": "19.1.0",
3536
"react-dom": "19.1.0",
3637
"tailwind-merge": "^3.3.0",
37-
"tailwindcss": "4.1.7"
38+
"tailwindcss": "4.1.7",
39+
"zod": "^3.24.1"
3840
},
3941
"devDependencies": {
4042
"@types/node": "22.15.21",

docs/pnpm-lock.yaml

Lines changed: 71 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
3.79 KB
Loading
15.8 KB
Loading

docs/public/apple-touch-icon.png

3.42 KB
Loading

docs/public/favicon-16x16.png

292 Bytes
Loading

docs/public/favicon-32x32.png

526 Bytes
Loading

docs/public/favicon.ico

15 KB
Binary file not shown.

docs/public/og.jpg

25.3 KB
Loading

docs/src/app/layout.tsx

Lines changed: 85 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,96 @@
11
import { RootProvider } from "fumadocs-ui/provider";
22
import "./globals.css";
3-
import type { Metadata } from "next";
3+
import type { Metadata, Viewport } from "next";
44
import { ThemeProvider } from "next-themes";
55

66
import { cn } from "../libs/utils";
77
import { fonts } from "../libs/fonts";
8+
import { siteConfig } from "../libs/site-config";
89

910
export const metadata: Metadata = {
10-
title: "Lightfast MCP Documentation",
11-
description: "Documentation for Lightfast MCP",
11+
title: {
12+
default: siteConfig.name,
13+
template: `%s - ${siteConfig.name}`,
14+
},
15+
metadataBase: new URL(siteConfig.url),
16+
description: siteConfig.description,
17+
keywords: [
18+
"Lightfast",
19+
"MCP",
20+
"Model Context Protocol",
21+
"AI",
22+
"Creative Applications",
23+
"Blender",
24+
"TouchDesigner",
25+
"Unreal Engine",
26+
"Adobe Creative Suite",
27+
"Automation",
28+
"3D Modeling",
29+
"Animation",
30+
"Creative Workflows",
31+
],
32+
authors: [
33+
{
34+
name: siteConfig.name,
35+
url: siteConfig.url,
36+
},
37+
],
38+
creator: siteConfig.name,
39+
openGraph: {
40+
type: "website",
41+
locale: "en_US",
42+
url: siteConfig.url,
43+
title: siteConfig.name,
44+
description: siteConfig.description,
45+
siteName: siteConfig.name,
46+
images: [
47+
{
48+
url: siteConfig.ogImage,
49+
width: 1200,
50+
height: 630,
51+
alt: siteConfig.name,
52+
},
53+
],
54+
},
55+
twitter: {
56+
card: "summary_large_image",
57+
title: siteConfig.name,
58+
description: siteConfig.description,
59+
images: [siteConfig.ogImage],
60+
creator: "@lightfastai",
61+
},
62+
icons: {
63+
icon: "/favicon.ico",
64+
shortcut: "/favicon-16x16.png",
65+
apple: "/apple-touch-icon.png",
66+
other: [
67+
{
68+
rel: "icon",
69+
url: "/favicon-32x32.png",
70+
},
71+
{
72+
rel: "icon",
73+
url: "/android-chrome-192x192.png",
74+
},
75+
{
76+
rel: "icon",
77+
url: "/android-chrome-512x512.png",
78+
},
79+
],
80+
},
81+
applicationName: siteConfig.name,
82+
appleWebApp: {
83+
capable: true,
84+
statusBarStyle: "default",
85+
title: siteConfig.name,
86+
},
87+
formatDetection: {
88+
telephone: false,
89+
},
90+
};
91+
92+
export const viewport: Viewport = {
93+
themeColor: "#121212",
1294
};
1395

1496
interface RootLayoutProperties {

0 commit comments

Comments
 (0)