Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

docs: Add & Sync-up Contributors #219

Merged
merged 17 commits into from Apr 3, 2019
Merged

docs: Add & Sync-up Contributors #219

merged 17 commits into from Apr 3, 2019

Conversation

ahmadawais
Copy link
Member

@ahmadawais ahmadawais commented Apr 3, 2019

Following up with the contributor's list PR — this PR is just quick sync up all the missing contributors from all the documentation files.

Anyone who's a contributor in GitHub should be listed in the docs contributors list to keep everything consistent and for future automation.

P.S. that was a lot of manual grunt work so I wrote the following script to collect the usernames of all the contributors.

/**
 * Get GitHub usernames that contributed in a file.
 */

const usernames = [];

// Select the right data of anchor links and loop over it.
document.querySelectorAll('.link-gray-dark.no-underline').forEach(lnk => {
	// Username is the string's array's fourth item.
	usernames.push(lnk.href.split('/')[3]);
});

// Make a list like username, username without quotes.
const ctrbs = usernames.join(', ');

// Add `, ` at the start.
const final = ', '.concat(ctrbs);

// Copy to your clipboard.
copy(final);

/gcbrun

@ahmadawais ahmadawais added the docs label Apr 3, 2019
@ahmadawais ahmadawais self-assigned this Apr 3, 2019
@ahmadawais ahmadawais requested a review from LaRuaNa April 3, 2019 11:30
@ahmadawais
Copy link
Member Author

/gcbrun

Copy link
Contributor

@MaedahBatool MaedahBatool left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions
Copy link

github-actions bot commented Apr 3, 2019

Copy link
Contributor

@LaRuaNa LaRuaNa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lovely! 👍

@LaRuaNa LaRuaNa merged commit 31c3b63 into master Apr 3, 2019
@ahmadawais ahmadawais deleted the ahmadawais/contributors branch April 3, 2019 11:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
3 participants