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", "twitter": "samjulien",
"website": "http://www.samjulien.com/", "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.", "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" "mentor": "gkalpak"
}, },
"JiaLiPassion": { "JiaLiPassion": {
"name": "JiaLi Passion", "name": "JiaLi Passion",
"group": "Collaborator", "group": "Collaborators",
"mentor": "mhevery", "mentor": "mhevery",
"picture": "JiaLiPassion.jpg", "picture": "JiaLiPassion.jpg",
"bio": "A programmer with passion, angular/zone.js guy! Web frontend engineer @sylabs" "bio": "A programmer with passion, angular/zone.js guy! Web frontend engineer @sylabs"
@ -671,19 +671,19 @@
"cexbrayat": { "cexbrayat": {
"name": "Cédric Exbrayat", "name": "Cédric Exbrayat",
"mentor": "petebacondarwin", "mentor": "petebacondarwin",
"group": "Collaborator", "group": "Collaborators",
"picture": "cexbrayat.jpg", "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" "bio": "Author of `Become a ninja with Angular (2+)` https://books.ninja-squad.com/angular - Angular trainer and @Ninja-Squad co-founder"
}, },
"CaerusKaru": { "CaerusKaru": {
"name": "Adam Plumer", "name": "Adam Plumer",
"group": "Collaborator", "group": "Collaborators",
"mentor": "vikerman", "mentor": "vikerman",
"picture": "CaerusKaru.jpg" "picture": "CaerusKaru.jpg"
}, },
"jbedard": { "jbedard": {
"name": "Jason Bedard", "name": "Jason Bedard",
"group": "Collaborator", "group": "Collaborators",
"mentor": "kyliau", "mentor": "kyliau",
"picture": "jbedard.png" "picture": "jbedard.png"
}, },

View File

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