angular-cn/aio/content/marketing
Sonu Kapoor deac994517 refactor(docs-infra): remove `rev` property from `Resource` interface and data (#37181)
The `rev` property has been in the initial commit that introduced
`resources.json` (196203f6d7) and has been
added to all new entries since (always with the value `true`). This
field is a remnant from back when this data was stored in a Firebase
Database and the `rev` field indicated whether the entry has been
reviewed/approved by a DevRel lead or something. Now that the data is
kept in the repository and the reviewing is done as part of the
corresponding PR, this field is no longer necessary.

PR Close #37181
2020-05-19 10:10:56 -07:00
..
README.md build(docs-infra): add check to ensure all contributor pictures exist (#29553) 2019-03-29 11:01:45 -07:00
about.html docs: change heading of contributors page to avoid confusion (Collaborators --> Contributors) (#29553) 2019-03-29 11:01:45 -07:00
analytics.md docs: remove mention of project settings from analytics (#30701) 2019-05-30 13:42:34 -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 Cindy to contributors (#37076) 2020-05-13 16:01:00 -07:00
docs.md docs: improve startup nav, naming, and terminology (#35533) 2020-04-22 17:08:29 -04:00
events.html docs: move ng-conf 2020 to the already presented section (#36413) 2020-04-13 08:20:03 -07: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: improve startup nav, naming, and terminology (#35533) 2020-04-22 17:08:29 -04:00
presskit.html fix(docs-infra): improve a11y (#28086) 2019-01-16 17:37:45 -08:00
resources-contributing.md docs(aio): Add resources contributor info 2017-07-01 14:38:26 +01:00
resources.html docs(aio): use h1 rather than divs and hide heading anchors 2017-06-07 11:26:27 -07:00
resources.json refactor(docs-infra): remove `rev` property from `Resource` interface and data (#37181) 2020-05-19 10:10:56 -07: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:

Alex Eagle is investigating how to reconcile these two lists.

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.
  • 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/.