gh contributors - speced/respec GitHub Wiki

gh-contributors

Automatically populates an element with a list of GitHub contributors to the repository. Requires github to be configured.

Add an element with id="gh-contributors" anywhere in the document — ReSpec replaces its content with a list of contributors linked to their GitHub profiles.

Usage

<section>
  <h2>Contributors</h2>
  <p>We thank the following contributors:</p>
  <ul id="gh-contributors"></ul>
</section>
<p>
  Also thanks to: <span id="gh-contributors"></span>.
</p>

Notes

  • Contributors are sorted alphabetically by GitHub username or display name
  • Requires github to be configured in respecConfig
  • Fetches contributor data from the GitHub API — contributors list may be large for active repositories
⚠️ **GitHub.com Fallback** ⚠️