Files

metadata.ts

Shared options for Metadata API of Next.js

What is This?

This file contains shared options for Metadata APi of Next.js, including configurations for Open Graph Image Generation.

lib/metadata.ts
import { createMetadataImage } from 'fumadocs-core/server';
import { source } from '@/lib/source';
 
export const metadataImage = createMetadataImage({
  imageRoute: '/docs-og',
  source,
});
Edit on GitHub

Last updated on

On this page