angular-cn/aio/content/marketing
George Kalpakas b509a7dc42 fix(docs-infra): make the "Contributors" page header similar to other marketing pages (#40881)
Before (wide screen): ![contributors (wide screen) before][1]
Before (narrow screen): ![contributors (narrow screen) before][2]
After (wide screen): ![contributors (wide screen) after][3]
After (narrow screen): ![contributors (narrow screen) after][4]

[1]: https://user-images.githubusercontent.com/8604205/107983880-634f8000-6fcf-11eb-8ad9-5a5df65d3d5e.png
[2]: https://user-images.githubusercontent.com/8604205/107983893-6a768e00-6fcf-11eb-9ccd-158ec491404f.png
[3]: https://user-images.githubusercontent.com/8604205/107983903-6f3b4200-6fcf-11eb-94e1-182893b7a715.png
[4]: https://user-images.githubusercontent.com/8604205/107983895-6ba7bb00-6fcf-11eb-9ff5-59d221ba906d.png

PR Close #40881
2021-02-19 09:14:59 -08:00
..
README.md docs: include a note that all entries in contributors.json should be present in alphabetical order (#40369) 2021-01-11 15:32:21 -08:00
about.html fix(docs-infra): make the "Contributors" page header similar to other marketing pages (#40881) 2021-02-19 09:14:59 -08:00
analytics.md docs: remove usage of whitelist in cli analytics docs (#38963) 2020-09-28 16:23:06 -04:00
announcements.json docs: update ng-conf announcement to remove livestream link (#36382) 2020-04-01 13:14:42 -07:00
api.html feat(aio): add Table of Contents (toc) component. (#16078) 2017-04-27 15:32:46 -07:00
contribute.html docs: update contributing page (#26497) 2018-10-17 11:24:19 -07:00
contributors.json docs: add eliran eliassy to GDE list (#39521) 2021-02-03 09:06:19 -08:00
docs.md docs: add what is angular topic (#40811) 2021-02-17 11:13:21 -08:00
events.html feat(docs-infra): created new widget for events page (#36517) 2020-09-16 15:14:18 -07:00
events.json docs: add ng-conf 2021 (#40783) 2021-02-12 16:49:22 -08:00
features.html docs: move old quick start content into new local setup guide (#29651) 2019-05-20 10:16:23 -07:00
index.html docs: update homepage headline (#40056) 2021-01-06 07:02:30 -08:00
presskit.html fix(docs-infra): improve a11y (#28086) 2019-01-16 17:37:45 -08:00
resources-contributing.md docs: remove https://angular.io from internal links (#37157) 2020-05-19 10:11:41 -07:00
resources.html docs(aio): use h1 rather than divs and hide heading anchors 2017-06-07 11:26:27 -07:00
resources.json docs: add observer-spy to resources page (#40624) 2021-02-16 10:03:58 -08:00
test.html fix(docs-infra): always default to no linenums in `<aio-code>` (#31674) 2019-07-24 14:38:54 -07:00

README.md

Contributors page

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 listings

There are two pages:

About the data

  • 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 data

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

for handle in $(jq keys[] --raw-output < aio/content/marketing/contributors.json)
do 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/.