feat: docs v2 (#2460)

Co-authored-by: Catalin Pit <catalinpit@gmail.com>
This commit is contained in:
Lucas Smith
2026-02-27 22:05:27 +11:00
committed by GitHub
parent f8ac782f2e
commit b92c53dbb2
290 changed files with 32521 additions and 266 deletions
+20
View File
@@ -0,0 +1,20 @@
import type { MetadataRoute } from 'next';
import { source } from '@/lib/source';
const BASE_URL = 'https://docs.documenso.com';
export default function sitemap(): MetadataRoute.Sitemap {
return [
{
url: BASE_URL,
changeFrequency: 'weekly',
priority: 1.0,
},
...source.getPages().map((page) => ({
url: `${BASE_URL}${page.url}`,
changeFrequency: 'weekly' as const,
priority: 0.7,
})),
];
}