SEO, Metadata & Sitemap

This commit is contained in:
Raven Scott
2025-11-30 20:33:12 -05:00
parent 064b293395
commit efda345f80
16 changed files with 259 additions and 31 deletions
+18 -1
View File
@@ -3,7 +3,24 @@ import CodeBlock from '@/components/ui/CodeBlock';
export const metadata: Metadata = {
title: 'API Reference - P2NS Documentation',
description: 'Complete REST API and WebSocket documentation for P2NS.',
description: 'Complete REST API and WebSocket documentation for P2NS. All endpoints, request/response formats, and WebSocket events.',
keywords: ['P2NS API', 'REST API', 'WebSocket', 'API documentation', 'endpoints', 'P2NS reference'],
authors: [{ name: 'Raven Scott' }],
openGraph: {
title: 'API Reference - P2NS Documentation',
description: 'Complete REST API and WebSocket documentation for P2NS.',
url: 'https://p2ns.space/docs/api',
siteName: 'P2NS',
type: 'website',
},
twitter: {
card: 'summary_large_image',
title: 'API Reference - P2NS Documentation',
description: 'Complete REST API and WebSocket documentation for P2NS.',
},
alternates: {
canonical: 'https://p2ns.space/docs/api',
},
};
export default function APIPage() {