diff --git a/.all-contributorsrc b/.all-contributorsrc new file mode 100644 index 00000000..a7f6c2d5 --- /dev/null +++ b/.all-contributorsrc @@ -0,0 +1,231 @@ +{ + "projectName": "techdocs", + "projectOwner": "accordproject", + "repoType": "github", + "repoHost": "https://github.com", + "files": [ + "README.md" + ], + "imageSize": 100, + "commit": true, + "commitConvention": "angular", + "contributors": [ + { + "login": "4dd3r", + "name": "4dd3r", + "avatar_url": "https://avatars1.githubusercontent.com/u/1309899?v=4", + "profile": "https://github.com/4dd3r", + "contributions": [ + "doc" + ] + }, + { + "login": "4katie", + "name": "4katie", + "avatar_url": "https://avatars2.githubusercontent.com/u/45664641?v=4", + "profile": "https://github.com/4katie", + "contributions": [ + "doc" + ] + }, + { + "login": "Alexandria", + "name": "It's Lex ", + "avatar_url": "https://avatars1.githubusercontent.com/u/7613670?v=4", + "profile": "https://github.com/Alexandria", + "contributions": [ + "doc" + ] + }, + { + "login": "DEBSUBHRO", + "name": "DEBSUBHRA ROY", + "avatar_url": "https://avatars0.githubusercontent.com/u/42496309?v=4", + "profile": "https://github.com/DEBSUBHRO", + "contributions": [ + "doc" + ] + }, + { + "login": "FelixKuehl", + "name": "Felix KΓΌhl", + "avatar_url": "https://avatars1.githubusercontent.com/u/13168478?v=4", + "profile": "https://github.com/FelixKuehl", + "contributions": [ + "doc" + ] + }, + { + "login": "Frozenaught", + "name": "Nico Britz", + "avatar_url": "https://avatars3.githubusercontent.com/u/34192458?v=4", + "profile": "https://github.com/Frozenaught", + "contributions": [ + "doc" + ] + }, + { + "login": "Yash-Garg", + "name": "Yash Garg", + "avatar_url": "https://avatars2.githubusercontent.com/u/33605526?v=4", + "profile": "http://yashgarg.me", + "contributions": [ + "doc" + ] + }, + { + "login": "contractpendev", + "name": "ContractPen", + "avatar_url": "https://avatars3.githubusercontent.com/u/41356995?v=4", + "profile": "https://contractpen.com/", + "contributions": [ + "doc" + ] + }, + { + "login": "daniloff200", + "name": "Dmitriy Danilov", + "avatar_url": "https://avatars1.githubusercontent.com/u/13692220?v=4", + "profile": "https://twitter.com/daniloff200", + "contributions": [ + "doc" + ] + }, + { + "login": "dselman", + "name": "Dan Selman", + "avatar_url": "https://avatars0.githubusercontent.com/u/623108?v=4", + "profile": "https://github.com/dselman", + "contributions": [ + "doc" + ] + }, + { + "login": "irmerk", + "name": "Jolene Langlinais", + "avatar_url": "https://avatars3.githubusercontent.com/u/36460856?v=4", + "profile": "http://jolenelanglinais.com", + "contributions": [ + "doc" + ] + }, + { + "login": "javiercanossini", + "name": "Javier Canossini", + "avatar_url": "https://avatars3.githubusercontent.com/u/41113584?v=4", + "profile": "https://github.com/javiercanossini", + "contributions": [ + "doc" + ] + }, + { + "login": "jbesq777", + "name": "Joseph J Bambara", + "avatar_url": "https://avatars0.githubusercontent.com/u/3835594?v=4", + "profile": "https://github.com/jbesq777", + "contributions": [ + "doc" + ] + }, + { + "login": "jeromesimeon", + "name": "Jerome Simeon", + "avatar_url": "https://avatars0.githubusercontent.com/u/670099?v=4", + "profile": "https://github.com/jeromesimeon", + "contributions": [ + "doc" + ] + }, + { + "login": "lex111", + "name": "Alexey Pyltsyn", + "avatar_url": "https://avatars2.githubusercontent.com/u/4408379?v=4", + "profile": "https://lex111.ru/", + "contributions": [ + "doc" + ] + }, + { + "login": "mttrbrts", + "name": "Matt Roberts", + "avatar_url": "https://avatars1.githubusercontent.com/u/7544022?v=4", + "profile": "http://clause.io", + "contributions": [ + "doc" + ] + }, + { + "login": "nithilan4", + "name": "Nithilan Kalidoss", + "avatar_url": "https://avatars0.githubusercontent.com/u/43860191?v=4", + "profile": "https://github.com/nithilan4", + "contributions": [ + "doc" + ] + }, + { + "login": "oorjitchowdhary", + "name": "Oorjit Chowdhary", + "avatar_url": "https://avatars2.githubusercontent.com/u/39333058?v=4", + "profile": "http://oorjitchowdhary.ml", + "contributions": [ + "doc" + ] + }, + { + "login": "peterhunn", + "name": "Peter Hunn", + "avatar_url": "https://avatars1.githubusercontent.com/u/9304034?v=4", + "profile": "http://www.clause.io", + "contributions": [ + "doc" + ] + }, + { + "login": "pranjalv9", + "name": "Pranjal Vyas", + "avatar_url": "https://avatars1.githubusercontent.com/u/55620250?v=4", + "profile": "https://github.com/pranjalv9", + "contributions": [ + "doc" + ] + }, + { + "login": "ryanctlin", + "name": "Ryan (Chiungting) Lin", + "avatar_url": "https://avatars2.githubusercontent.com/u/32078126?v=4", + "profile": "https://github.com/ryanctlin", + "contributions": [ + "doc" + ] + }, + { + "login": "shahsank3t", + "name": "Sanket Shah", + "avatar_url": "https://avatars1.githubusercontent.com/u/6761317?v=4", + "profile": "http://deuexsolutions.com", + "contributions": [ + "doc" + ] + }, + { + "login": "steffinstanly", + "name": "Steffin Stanly", + "avatar_url": "https://avatars0.githubusercontent.com/u/32876873?v=4", + "profile": "https://steffinstanly.github.io/", + "contributions": [ + "doc" + ] + }, + { + "login": "sumitkharche", + "name": "Sumit Kharche", + "avatar_url": "https://avatars3.githubusercontent.com/u/43902034?v=4", + "profile": "https://sumitkharche.hashnode.dev/", + "contributions": [ + "doc" + ] + } + ], + "contributorsPerLine": 7 +} diff --git a/README.md b/README.md index 4801bbc3..658ab490 100644 --- a/README.md +++ b/README.md @@ -4,14 +4,7 @@ -

- - Join the Accord Project Slack - - - GitHub license - -

+[![All Contributors](https://img.shields.io/badge/all_contributors-24-orange.svg?style=flat-square)](#contributors) [![Join the Accord Project Slack](https://img.shields.io/badge/Accord%20Project-Join%20Slack-blue)](https://accord-project-slack-signup.herokuapp.com) [![GitHub license](https://img.shields.io/github/license/accordproject/techdocs)](https://github.com/accordproject/techdocs/blob/master/LICENSE) Technical Documentation for all Accord Project code. This site uses Docusaurus to generate static HTML. @@ -293,3 +286,51 @@ Copyright 2018-2019 Clause, Inc. All trademarks are the property of their respec [apache]: https://github.com/accordproject/template-studio-v2/blob/master/LICENSE [creativecommons]: http://creativecommons.org/licenses/by/4.0/ + +## Contributors ✨ + +Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
4dd3r
4dd3r

πŸ’»
4katie
4katie

πŸ’»
It's Lex
It's Lex

πŸ’»
DEBSUBHRA ROY
DEBSUBHRA ROY

πŸ’»
Felix KΓΌhl
Felix KΓΌhl

πŸ’»
Nico Britz
Nico Britz

πŸ’»
Yash Garg
Yash Garg

πŸ’»
ContractPen
ContractPen

πŸ’»
Dmitriy Danilov
Dmitriy Danilov

πŸ’»
Dan Selman
Dan Selman

πŸ’»
Jolene Langlinais
Jolene Langlinais

πŸ’»
Javier Canossini
Javier Canossini

πŸ’»
Joseph J Bambara
Joseph J Bambara

πŸ’»
Jerome Simeon
Jerome Simeon

πŸ’»
Alexey Pyltsyn
Alexey Pyltsyn

πŸ’»
Matt Roberts
Matt Roberts

πŸ’»
Nithilan Kalidoss
Nithilan Kalidoss

πŸ’»
Oorjit Chowdhary
Oorjit Chowdhary

πŸ’»
Peter Hunn
Peter Hunn

πŸ’»
Pranjal Vyas
Pranjal Vyas

πŸ’»
Ryan (Chiungting) Lin
Ryan (Chiungting) Lin

πŸ’»
Sanket Shah
Sanket Shah

πŸ’»
Steffin Stanly
Steffin Stanly

πŸ’»
Sumit Kharche
Sumit Kharche

πŸ’»
+ + + + + +This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! diff --git a/scripts/seed_contributors.sh b/scripts/seed_contributors.sh new file mode 100644 index 00000000..35b0d4ab --- /dev/null +++ b/scripts/seed_contributors.sh @@ -0,0 +1,26 @@ +#!/bin/bash +USER=$1 +TOKEN=$2 +CURRENT_REPO=$3 +ORGANIZATION=accordproject + +# needed to avoid the rate limit +export PRIVATE_TOKEN=$TOKEN + +CONTRIBUTORS=() + +# Get contributors for each repo +REPO_CONTRIBUTORS=( $(curl -u ${USER}:${TOKEN} -s https://api.github.com/repos/${ORGANIZATION}/${CURRENT_REPO}/stats/contributors | jq -r '.[] | .author.login') ) + +# Concatenate the existing contributors with the new ones +CONTRIBUTORS=("${CONTRIBUTORS[@]}" "${REPO_CONTRIBUTORS[@]}") + +# Remove duplicates +CONTRIBUTORS=($( echo "${CONTRIBUTORS[@]}" | tr ' ' '\n' | sort -u | tr '\n' ' ')) + +for i in "${!CONTRIBUTORS[@]}"; do + echo "${CONTRIBUTORS[$i]}" + node "./node_modules/all-contributors-cli/dist/cli.js" add ${CONTRIBUTORS[$i]} doc +done + +node "./node_modules/all-contributors-cli/dist/cli.js" generate \ No newline at end of file