-
Notifications
You must be signed in to change notification settings - Fork 47
Add article contributors in learning path markdown metadata #343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add article contributors in learning path markdown metadata #343
Conversation
|
Nice! What does it look like? |
Hey @rrrutledge, see screenshots on linked PR InnerSourceCommons/innersourcecommons.org#222. |
scripts/get_contributors.js
Outdated
| throw Error('This script needs updating to handle >100 commits') | ||
| } | ||
|
|
||
| return [...new Set(history.nodes.map(node => node.author.name))] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this response have the web URL of the author's profile page as well? I think it would be nice to pass that through so that their name can be rendered as a link back to their GitHub profile.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, updated this PR and also InnerSourceCommons/innersourcecommons.org#222.
rrrutledge
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
|
Merge conflicts resolved - I will merge this tomorrow (Friday) if no one has any objections. |
Gets contributors per article and adds them to the metadata used on the website.
Note that the GitHub data isn't perfect, so we get situations where e.g. the German introduction articles were moved, losing the contributor metadata before the move.