Skip to content

mciwing/mkdocs-author-plugin

Repository files navigation

Python License: MIT

MkDocs author plugin

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.

Get started

Install the package with:

pip install mkdocs-author-plugin

Add the plugin to your mkdocs.yml:

plugins:
  - author:
    authors_file: authors.yml

Place 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: johndoe

Within your markdown files, define the authors using their keys in the front matter:

---
title: My Markdown Page
authors:
  - jk
  - john_doe
---

....

About

Add manually defined authors to MkDocs pages.

Resources

License

Stars

Watchers

Forks

Languages