An MkDocs plugin to create a list of contributors on the page. The plugin seeds the template context with a list of GitHub or GitLab committers and other useful GIT info such as last modified date. Current version is 2.5.0, with regular releases.
pip install mkdocs-git-committers-plugin-2No compatibility data collected yet for this library.
Add the plugin to your MkDocs config. The 'repository' field is required, and a token is recommended for GitHub to avoid rate limiting.
Set an environment variable (e.g. GH_TOKEN or GITLAB_TOKEN) and reference it in mkdocs.yml via !ENV or !!python/name.
No code change required; the plugin automatically uses REST API. Ensure your token has appropriate REST API permissions.
Remove 'docs_path' from your mkdocs.yml.
Add 'api_version: v3' (for GitHub) or 'api_version: v4' (for GitLab) to your mkdocs.yml under the plugin settings.
Upgrade to version 2.4.1 or later.