mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
15 lines
371 B
TypeScript
15 lines
371 B
TypeScript
import { makeSource } from 'contentlayer/source-files'
|
|
import { createConfig } from 'next-docs-zeta/contentlayer/configuration'
|
|
import { structure } from 'next-docs-zeta/mdx-plugins'
|
|
|
|
export default makeSource(
|
|
createConfig({
|
|
docsComputedFields: {
|
|
structuredData: {
|
|
type: 'json',
|
|
resolve: page => structure(page.body.raw)
|
|
}
|
|
}
|
|
})
|
|
)
|