Manually define authors in your markdown files and render a GitHub avatar at the bottom of the page.
Note
This plugin was specifically written for use with Material for MkDocs.
Install the package with:
pip install mkdocs-author-pluginAdd the plugin to your mkdocs.yml:
plugins:
- author:
authors_file: authors.ymlPlace the authors.yml within the docs directory. authors.yml contains all
authors with their GitHub usernames:
jk: # author key
name: Jakob Klotz
github: JakobKlotz # GitHub username
john_doe:
name: John Doe
github: johndoeWithin your markdown files, define the authors using their keys in the front matter:
---
title: My Markdown Page
authors:
- jk
- john_doe
---
....