mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
20 lines
368 B
JavaScript
20 lines
368 B
JavaScript
/**
|
|
* @type {import("fumadocs-openapi").Config}
|
|
*/
|
|
module.exports = {
|
|
input: ['./museum.yaml'],
|
|
output: './content/docs/ui',
|
|
per: 'tag',
|
|
render: (title, description) => {
|
|
return {
|
|
frontmatter: [
|
|
'---',
|
|
`title: ${title}`,
|
|
`description: ${description}`,
|
|
'toc: false',
|
|
'---',
|
|
].join('\n'),
|
|
};
|
|
},
|
|
};
|