Removed todo; added docs in _build.js

This commit is contained in:
tycrek 2020-05-25 13:27:14 -06:00
parent 19c8fc43a4
commit e4f7359d04
1 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,4 @@
// Build tool for generating README.md
// TODO: Add support for section-specific comments
const os = require('os');
const path = require('path');
@ -126,8 +125,11 @@ function generateServiceSection(data) {
return serviceSection + notes;
}
/**
* Returns a badge acting as a link to an F-Droid page for an app.
* @param {String} appId The package identifier on F-Droid
*/
function fdroidLink(appId) {
//return `![F-Droid](https://img.shields.io/f-droid/v/${appId})`
return `[![F-Droid](https://img.shields.io/f-droid/v/${appId})](https://f-droid.org/en/packages/${appId}/)`;
}