From 4e5a14f3ded0a58ea4ef428294d9a47468da515d Mon Sep 17 00:00:00 2001 From: Oleg Proskurin Date: Wed, 31 Dec 2025 20:27:27 +0700 Subject: [PATCH] chore(landing): add docs pages to sitemap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added all documentation pages to sitemap.xml: - Getting Started (/docs) - Image Generation (/docs/generation) - Working with Images (/docs/images) - Live URLs (/docs/live-urls) - Authentication (/docs/authentication) - API Reference (/docs/api) - API: Generations, Images, Flows, Live Scopes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- apps/landing/src/app/sitemap.ts | 66 ++++++++++++++++++++++++++++++++- 1 file changed, 65 insertions(+), 1 deletion(-) diff --git a/apps/landing/src/app/sitemap.ts b/apps/landing/src/app/sitemap.ts index 83e25bd..c204655 100644 --- a/apps/landing/src/app/sitemap.ts +++ b/apps/landing/src/app/sitemap.ts @@ -1,12 +1,76 @@ import { MetadataRoute } from 'next'; export default function sitemap(): MetadataRoute.Sitemap { + const baseUrl = 'https://banatie.app'; + return [ { - url: 'https://banatie.app/', + url: `${baseUrl}/`, lastModified: new Date(), changeFrequency: 'weekly', priority: 1, }, + // Documentation - Guides + { + url: `${baseUrl}/docs`, + lastModified: new Date(), + changeFrequency: 'weekly', + priority: 0.9, + }, + { + url: `${baseUrl}/docs/generation`, + lastModified: new Date(), + changeFrequency: 'weekly', + priority: 0.8, + }, + { + url: `${baseUrl}/docs/images`, + lastModified: new Date(), + changeFrequency: 'weekly', + priority: 0.8, + }, + { + url: `${baseUrl}/docs/live-urls`, + lastModified: new Date(), + changeFrequency: 'weekly', + priority: 0.8, + }, + { + url: `${baseUrl}/docs/authentication`, + lastModified: new Date(), + changeFrequency: 'weekly', + priority: 0.8, + }, + // Documentation - API Reference + { + url: `${baseUrl}/docs/api`, + lastModified: new Date(), + changeFrequency: 'weekly', + priority: 0.8, + }, + { + url: `${baseUrl}/docs/api/generations`, + lastModified: new Date(), + changeFrequency: 'weekly', + priority: 0.7, + }, + { + url: `${baseUrl}/docs/api/images`, + lastModified: new Date(), + changeFrequency: 'weekly', + priority: 0.7, + }, + { + url: `${baseUrl}/docs/api/flows`, + lastModified: new Date(), + changeFrequency: 'weekly', + priority: 0.7, + }, + { + url: `${baseUrl}/docs/api/live-scopes`, + lastModified: new Date(), + changeFrequency: 'weekly', + priority: 0.7, + }, ]; }