remove headings for generated doc

This commit is contained in:
Felix Roos 2022-09-17 15:18:38 +02:00
parent acf339ad13
commit 71ca46b21b

View File

@ -23,8 +23,6 @@ ${item.description.replaceAll(/\{\@link ([a-zA-Z]+)?\#?([a-zA-Z]*)\}/g, (_, a, b
return `<a href="#${a}${b ? `-${b}` : ''}">${a}${b ? `#${b}` : ''}</a>`;
})}
${!!item.params?.length ? '**Parameters**' : ''}
${
item.params
?.map(
@ -36,8 +34,7 @@ ${
${
item.examples?.length
? `**Examples**
? `
<div className="space-y-2">
${item.examples?.map((example, k) => `<MiniRepl tune={\`${example}\`} />`).join('\n\n')}
</div>`