-
Notifications
You must be signed in to change notification settings - Fork 156
Closed
Labels
Description
Hello,
I'm running a GitHub organization, and I would like to publish contributor list of all public repos in organization to our website.
In this regard, I was expecting the following code, but the field site.github.public_repositories[].contributors was not exist.
{% for repository in site.github.public_repositories %}
## [{{ repository.name }}]({{ repository.html_url }})
{% for contributor in repository.contributors %}
* [{{ contributor.name }}]({{ contributor.html_url }})
{% endfor %}
{% endfor %}
I found an old similar issue with this feature, but it seems to have been resolved by fetching only the contributors of only one repository (the current repository specified in _config.yaml) as site.github.contributors.
It looks like the GitHub API and octokit.rb support the feature to get a list of contributors by repository.
However, I'm a bit embarrassed because I haven't written code in ruby. 😅
Do you have any plans to add a feature related to this?
Thank you.