Skip to content

Commit 42f8830

Browse files
committed
feat: add submit sitemap script
1 parent 2c140e7 commit 42f8830

File tree

4 files changed

+757
-1
lines changed

4 files changed

+757
-1
lines changed

apps/docs/.env.example

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
# https://fumadocs.dev/docs/mdx/async
22
LOCALE=en
3-
ORAMA_PRIVATE_API=
3+
ORAMA_PRIVATE_API=
4+
5+
# Google Search Console Service Account Credentials
6+
# Required for sitemap submission functionality
7+
GOOGLE_SERVICE_ACCOUNT_EMAIL=your-service-account@project-id.iam.gserviceaccount.com
8+
GOOGLE_SERVICE_ACCOUNT_PRIVATE_KEY=

apps/docs/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"build": "next build",
99
"prebuild": "pnpm run clean",
1010
"update-search-index": "tsx ./scripts/update-search-index.ts",
11+
"submit-sitemap": "tsx ./scripts/submit-sitemap.ts",
1112
"dev": "next dev --turbo",
1213
"start": "next start",
1314
"postinstall": "fumadocs-mdx",
@@ -23,6 +24,8 @@
2324
"fumadocs-core": "15.2.15",
2425
"fumadocs-mdx": "11.6.2",
2526
"fumadocs-ui": "15.2.15",
27+
"google-auth-library": "^9.15.1",
28+
"googleapis": "^150.0.1",
2629
"lucide-react": "^0.511.0",
2730
"next": "15.3.3",
2831
"next-intl": "^4.1.0",

0 commit comments

Comments
 (0)