Skip to content
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

Contributors list for each documentation page. #4

Open
resir014 opened this issue Jun 1, 2018 · 0 comments
Open

Contributors list for each documentation page. #4

resir014 opened this issue Jun 1, 2018 · 0 comments

Comments

@resir014
Copy link
Contributor

resir014 commented Jun 1, 2018

This will be a useful feature to have. Each contributors to the page would be credited and their avatars will show up somewhere in the docs (a la Microsoft documentation).

Tech breakdown

In the documentation page, we'll add a new contributors frontmatter which is an array of all GitHub usernames of people who have contributed.

contributors: ["user1", "user2", ...]

Then using gatsby-source-github and Gatsby's mapping feature, we map the above usernames to the GitHub user object so we can call them through GraphQL on the page template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant