From e4f7359d041f35f4aae2cd8fcef8631aa79fc3f2 Mon Sep 17 00:00:00 2001 From: tycrek Date: Mon, 25 May 2020 13:27:14 -0600 Subject: [PATCH] Removed todo; added docs in _build.js --- _build.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/_build.js b/_build.js index 4944183..5c4464c 100644 --- a/_build.js +++ b/_build.js @@ -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}/)`; }