angular-cn/aio/content/marketing
George Kalpakas 00562ed935 fix(docs-infra): center the "Contribute" page (#40944)
This commit improves the layout of the "Contribute" page by centering
the content (similar to other marketing pages).

Before: ![contribute layout before][1]
After: ![contribute layout after][2]

This change has been extracted from #36045.

[1]: https://user-images.githubusercontent.com/8604205/108595056-5b545f00-7386-11eb-97b6-c3606dbfb5fa.png
[2]: https://user-images.githubusercontent.com/8604205/108595060-5becf580-7386-11eb-91fa-b2877f2a4691.png

Co-authored-by: Stefanie Fluin <sjtrimble@gmail.com>

PR Close #40944
2021-02-26 15:39:29 -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 fix(docs-infra): center the "Contribute" page (#40944) 2021-02-26 15:39:29 -08: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): add links to glossary for terms on the "Press kit" page (#40945) 2021-02-26 08:28:22 -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/.