mirror of
https://github.com/eliasstepanik/strudel-docker.git
synced 2026-01-20 10:08:29 +00:00
remove headings for generated doc
This commit is contained in:
parent
acf339ad13
commit
71ca46b21b
@ -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>`;
|
return `<a href="#${a}${b ? `-${b}` : ''}">${a}${b ? `#${b}` : ''}</a>`;
|
||||||
})}
|
})}
|
||||||
|
|
||||||
${!!item.params?.length ? '**Parameters**' : ''}
|
|
||||||
|
|
||||||
${
|
${
|
||||||
item.params
|
item.params
|
||||||
?.map(
|
?.map(
|
||||||
@ -36,8 +34,7 @@ ${
|
|||||||
|
|
||||||
${
|
${
|
||||||
item.examples?.length
|
item.examples?.length
|
||||||
? `**Examples**
|
? `
|
||||||
|
|
||||||
<div className="space-y-2">
|
<div className="space-y-2">
|
||||||
${item.examples?.map((example, k) => `<MiniRepl tune={\`${example}\`} />`).join('\n\n')}
|
${item.examples?.map((example, k) => `<MiniRepl tune={\`${example}\`} />`).join('\n\n')}
|
||||||
</div>`
|
</div>`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user