feat(docs-infra): support contributors belonging to multiple groups (#29553)
PR Close #29553
This commit is contained in:

committed by
Jason Aden

parent
b99a070f88
commit
33524d9d9c
@ -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=="Collaborators"))
|
||||
| map(select((.value.groups | index("Angular")) or (.value.groups | index("Collaborators"))))
|
||||
| map(.value |= {name: .name, lead: (.lead // .mentor // "")})
|
||||
| map(
|
||||
"\(.key|tojson) [ label = \(.value.name|tojson) ] ",
|
||||
|
Reference in New Issue
Block a user