Contributors

Generate a contributors page for your Sphinx documentation automatically from your Git history.

ui

About this Extension

Automatically generates a contributors page by analyzing your Git repository history. Shows who has contributed to your documentation and project with configurable display options.

What it generates

  • List of all contributors with commit counts
  • Avatar images from GitHub profiles
  • Customizable contributor cards with name, GitHub link, and stats
  • Optional filtering by file patterns or commit types
  • Sorting options (alphabetical, by commit count, by date)

Example output

Creates a page showing:

John Doe (25 commits)
Jane Smith (18 commits)
Bob Wilson (12 commits)

With GitHub avatars and links to profiles when available.

Configuration options

# conf.py
extensions = ['sphinx_contributors']

# Basic configuration
contributors_github_repo = "owner/repo-name"

# Optional: filter contributors
contributors_filter_commits = ["docs/", "*.md", "*.rst"]  # Only count these files
contributors_exclude_emails = ["noreply@github.com"]      # Exclude these emails
contributors_min_commits = 2                              # Minimum commits to appear

# Optional: customize display
contributors_show_avatars = True
contributors_show_links = True
contributors_sort_by = "commits"  # or "name" or "date"

Use cases

  • Open source projects wanting to acknowledge contributors
  • Team documentation with attribution
  • Project websites showing development activity
  • Recognition pages for community contributions

Requires the documentation to be in a Git repository. Works with GitHub, GitLab, and other Git hosting services.

Author

David Garcia

License

MIT License

Try it out!

We have not been able to validate your subscription.
You have been subscribed to SphinxThemes.com

We've got more coming...

Join the community and get notified every time we list a new Sphinx theme or extension.