Documentation link in task application.

This commit is contained in:
John Livingston
2024-05-13 13:01:18 +02:00
parent e5ad7816b6
commit d65285923f
6 changed files with 67 additions and 12 deletions

View File

@ -54,6 +54,10 @@ function patch (lang) {
const label = labels[key]
patchLabel(destContent, label, yaml[key] ?? '')
}
// We add an extra _livechat_language, so we can compute url to documentation
// (same thing as _language in build-languages.js)
patchLabel(destContent, '_livechat_language', lang)
fs.writeFileSync(destFile, destContent.join('\n'))
}