George Kalpakas ed19464be0 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
2019-03-29 11:01:45 -07:00

12 lines
410 B
Plaintext

# 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=="Collaborators"))
| map(.value |= {name: .name, lead: (.lead // .mentor // "")})
| map(
"\(.key|tojson) [ label = \(.value.name|tojson) ] ",
"\(.key|tojson) -> \(.value.lead|tojson)"
)
[]