Skip to content

About

Sphinx extension to show some ❤️ to your GitHub contributors

Topics

Resources

Stars

10 stars

Watchers

1 watching

Forks

Repository files navigation

sphinx-contributors

sphinx-contributors is a Sphinx extension that automatically lists the people who have contributed to your GitHub repositories, right inside your documentation.

https://raw.githubusercontent.com/dgarcia360/sphinx-contributors/master/docs/source/_static/example_avatars.png

Features

  • List contributors from one or multiple GitHub repositories in a single directive.
  • Display real names, avatars, and contribution counts.
  • Manually include contributors not detected by the API (e.g., Co-authored-by contributors).
  • Exclude bots and specific users.
  • Sort by most or least active, and limit the number shown.

Requirements

  • GitHub public repositories.
  • Python 3.10+ and Sphinx 7.0+.

Installation

  1. Install sphinx-contributors using PIP.

    pip install sphinx-contributors
  2. Add the extension to your Sphinx project conf.py file.

    extensions = ['sphinx_contributors']

Usage

Using the directive:

..  contributors:: sphinx-doc/sphinx

Renders:

https://raw.githubusercontent.com/dgarcia360/sphinx-contributors/master/docs/source/_static/example.png

Check out the full documentation for more customizable options at https://sphinx-contributors.readthedocs.io/

Contributing

We encourage public contributions! Please review CONTRIBUTING for details on our code of conduct and development process.

License

Copyright (c) 2018 - present David Garcia (@dgarcia360).

Licensed under the MIT License.

About

Sphinx extension to show some ❤️ to your GitHub contributors

Topics

Resources

Stars

10 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages