aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/generate-code-contributors.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-09-05 15:39:52 +0200
committerChocobozzz <me@florianbigard.com>2019-09-05 15:40:09 +0200
commit1eb23e12f757dc4e9a6161b1b933f35a761755c3 (patch)
tree1166c2d01d9aa2385c0049a4ae4556249ed1aeb5 /scripts/generate-code-contributors.ts
parent5819e694ba238b5e4ee97347c6cf5ee7a82725b5 (diff)
downloadPeerTube-1eb23e12f757dc4e9a6161b1b933f35a761755c3.tar.gz
PeerTube-1eb23e12f757dc4e9a6161b1b933f35a761755c3.tar.zst
PeerTube-1eb23e12f757dc4e9a6161b1b933f35a761755c3.zip
Add contributors in about peertube page
Diffstat (limited to 'scripts/generate-code-contributors.ts')
-rwxr-xr-xscripts/generate-code-contributors.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/generate-code-contributors.ts b/scripts/generate-code-contributors.ts
index 0d6266056..c745b1cb2 100755
--- a/scripts/generate-code-contributors.ts
+++ b/scripts/generate-code-contributors.ts
@@ -13,7 +13,7 @@ async function run () {
13 { 13 {
14 const contributors = await fetchGithub('https://api.github.com/repos/chocobozzz/peertube/contributors') 14 const contributors = await fetchGithub('https://api.github.com/repos/chocobozzz/peertube/contributors')
15 15
16 console.log('# Code\n') 16 console.log('# Code contributors\n')
17 for (const contributor of contributors) { 17 for (const contributor of contributors) {
18 const contributorUrl = contributor.url.replace('api.github.com/users', 'github.com') 18 const contributorUrl = contributor.url.replace('api.github.com/users', 'github.com')
19 console.log(` * [${contributor.login}](${contributorUrl})`) 19 console.log(` * [${contributor.login}](${contributorUrl})`)
@@ -27,7 +27,7 @@ async function run () {
27 27
28 const translators = await fetchZanata(zanataUsername, zanataToken) 28 const translators = await fetchZanata(zanataUsername, zanataToken)
29 29
30 console.log('\n\n# Translations\n') 30 console.log('\n\n# Translation contributors\n')
31 for (const translator of translators) { 31 for (const translator of translators) {
32 console.log(` * [${translator.username}](https://trad.framasoft.org/zanata/profile/view/${translator.username})`) 32 console.log(` * [${translator.username}](https://trad.framasoft.org/zanata/profile/view/${translator.username})`)
33 } 33 }