docs: change contributor group name (Collaborator --> Collaborators) (#29553)

The name of the group also serves as the group tab's title in the docs
app and having "Collaborator" (singular) as a title for a list of people
didn't read well.
Changing th group name (and thus tab title) to "Collaborators" (plural).

PR Close #29553
This commit is contained in:
George Kalpakas 2019-03-29 14:25:51 +02:00 committed by Jason Aden
parent c67f6a7e60
commit ed19464be0
2 changed files with 7 additions and 7 deletions

View File

@ -658,12 +658,12 @@
"twitter": "samjulien",
"website": "http://www.samjulien.com/",
"bio": "Sam Julien builds software, articles, video courses, and campfires. A developer, speaker, writer, and GDE in the Pacific Northwest, Sam's favorite thing in the world is changing someone's life by teaching them to code.",
"group": "Collaborator",
"group": "Collaborators",
"mentor": "gkalpak"
},
"JiaLiPassion": {
"name": "JiaLi Passion",
"group": "Collaborator",
"group": "Collaborators",
"mentor": "mhevery",
"picture": "JiaLiPassion.jpg",
"bio": "A programmer with passion, angular/zone.js guy! Web frontend engineer @sylabs"
@ -671,19 +671,19 @@
"cexbrayat": {
"name": "Cédric Exbrayat",
"mentor": "petebacondarwin",
"group": "Collaborator",
"group": "Collaborators",
"picture": "cexbrayat.jpg",
"bio": "Author of `Become a ninja with Angular (2+)` https://books.ninja-squad.com/angular - Angular trainer and @Ninja-Squad co-founder"
},
"CaerusKaru": {
"name": "Adam Plumer",
"group": "Collaborator",
"group": "Collaborators",
"mentor": "vikerman",
"picture": "CaerusKaru.jpg"
},
"jbedard": {
"name": "Jason Bedard",
"group": "Collaborator",
"group": "Collaborators",
"mentor": "kyliau",
"picture": "jbedard.png"
},

View File

@ -1,7 +1,7 @@
# Produces a GraphViz Dot file from the data in the contributors.json file.
# Documentation for this syntax at https://stedolan.github.io/jq/manual
to_entries
| map(select(.value.group=="Angular" or .value.group=="Collaborator"))
to_entries
| map(select(.value.group=="Angular" or .value.group=="Collaborators"))
| map(.value |= {name: .name, lead: (.lead // .mentor // "")})
| map(
"\(.key|tojson) [ label = \(.value.name|tojson) ] ",