ng-docs.github.io icon indicating copy to clipboard operation
ng-docs.github.io copied to clipboard

Angular 官方文档中文版预编译网站

Angular - Contributors pagelink
填写这份《一分钟调查》,帮我们(开发组)做得更好!去填写"Home"

Contributors pagelink

We have an official accounting of who is on the Angular Team, who are "trusted collaborators" (see https://team.angular.io/collaborators), and so on.

The contributors.json should be maintained to keep our "org chart" in a single consistent place.

GDE listingslink

There are two pages:

About the datalink

  • Keys in contributors.json should be GitHub handles. (Most currently are, but not all.) This will allow us to use GitHub as the default source for things like name, avatar, etc.
  • Keys are sorted in alphabetical order, please keep the sorting order when adding new entries.
  • Pictures are stored in aio/content/images/bios/<picture-filename>.

Processing the datalink

Install https://stedolan.github.io/jq/ which is amazing.

      
  for handle in $(jq keys[] --raw-output < aio/content/marketing/contributors.json)

echo -e "\n$handle\n---------\n"; curl --silent -H "Authorization: token ${TOKEN}" https://api.github.com/users/$handle
| jq ".message,.name,.company,.blog,.bio" --raw-output done

Relevant scripts are stored in aio/scripts/contributors/.