Skip to content

@pumpkin-plugins/docs API / sections / renderBlocks

Function: renderBlocks() ​

renderBlocks(info, release?): Record<string, string>

Defined in: tools/docs/src/sections.ts:41

Every generated block of a plugin README: the built-in sections and the plugin's own blocks.

Parameters ​

info ​

PluginInfo

What the plugin says about itself.

release? ​

PluginRelease

Adds the installation block when given.

Returns ​

Record<string, string>

Throws ​

When a plugin block uses the name of a built-in section.

pumpkin-plugins documentation