Mkdocs Git Committers Plugin

screenshot of Mkdocs Git Committers Plugin

A mkdocs plugin for displaying the last commit and a list of a file's contributors.

Overview

The mkdocs-git-committers-plugin is an invaluable addition for developers looking to enhance their MkDocs documentation with dynamic insights into code contributions. By integrating this plugin, users can effortlessly display a list of committers associated with specific files, providing transparency and recognition for contributors. This tool is particularly useful for projects involving multiple collaborators, making it easier to appreciate the efforts of each individual.

Setting up the plugin is straightforward with pip installation, followed by simple configurations in the mkdocs.yml file. This allows users to quickly activate the plugin while avoiding common pitfalls related to GitHub API rate limits through the use of personal access tokens. Overall, this plugin is a powerful way to enrich documentation with real-time contributions.

Features

  • Easy Installation: Install the plugin quickly via pip with a simple command to get started in no time.

  • GitHub Integration: Automatically pulls commit data from your GitHub repository, making it easy to showcase contributions directly in your documentation.

  • Last Commit Information: Displays details about the last commit of a file, including the date of the last update, providing context for documentation updates.

  • Flexible Configuration: Use your GitHub token to avoid rate limits, ensuring smooth operation during active documentation work.

  • Manual Contributor Addition: Credit contributors who may not appear in commit history by utilizing page meta, ensuring all who contribute are recognized.

  • Customizable Templates: Employ customizable template code for displaying committers and contributors, allowing for a tailored look in your documentation.

  • Acknowledgments Feature: Acknowledge specific contributors easily, fostering a sense of community within your project.