From e8ea2818188653d6447543ad7dff1bdc8e6c5ebf Mon Sep 17 00:00:00 2001 From: James Nurthen Date: Tue, 24 May 2022 10:24:25 -0700 Subject: [PATCH] remove bots from contributors list Fixes #85 --- script/utility.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/script/utility.js b/script/utility.js index 9724077..03b876b 100644 --- a/script/utility.js +++ b/script/utility.js @@ -9,3 +9,8 @@ function addPlatformMaintainers() { if (node.textContent.trim() == "Authors:") node.textContent = "Platform Mapping Maintainers:"; }) } +function fixContributors() { + document.querySelectorAll("#gh-contributors li a").forEach(function(node){ + if (node.textContent.indexOf("[bot]") > 0) node.parentElement.parentElement.removeChild(node.parentElement); + }) +} \ No newline at end of file