ci: improve metadata building
This commit is contained in:
@@ -421,8 +421,13 @@ metadata.plugin = async function({__plugins, __templates, name, logger}) {
|
|||||||
cell.push("🔧 For development<br>")
|
cell.push("🔧 For development<br>")
|
||||||
if (!Object.keys(previous?.inputs ?? {}).includes(option))
|
if (!Object.keys(previous?.inputs ?? {}).includes(option))
|
||||||
cell.push("✨ On <code>master</code>/<code>main</code><br>")
|
cell.push("✨ On <code>master</code>/<code>main</code><br>")
|
||||||
if (o.extras)
|
if (o.extras) {
|
||||||
cell.push("🌐 Web instances must configure <code>settings.json</code><br>")
|
cell.push("🌐 Web instances must configure <code>settings.json</code>:")
|
||||||
|
cell.push("<ul>")
|
||||||
|
for (const permission of o.extras)
|
||||||
|
cell.push(`<li><i>${permission}</i></li>`)
|
||||||
|
cell.push("</ul>")
|
||||||
|
}
|
||||||
cell.push(`<b>type:</b> <code>${type}</code>`)
|
cell.push(`<b>type:</b> <code>${type}</code>`)
|
||||||
if ("format" in o)
|
if ("format" in o)
|
||||||
cell.push(`<i>(${Array.isArray(o.format) ? o.format[0] : o.format})</i>`)
|
cell.push(`<i>(${Array.isArray(o.format) ? o.format[0] : o.format})</i>`)
|
||||||
|
|||||||
Reference in New Issue
Block a user