timvink / mkdocs-git-authors-plugin

MkDocs plugin to display git authors of a page.
https://timvink.github.io/mkdocs-git-authors-plugin
MIT License
68 stars 17 forks source link

Custom href option #74

Closed alonsomoya closed 2 months ago

alonsomoya commented 1 year ago

This PR allows for a customization of the default mailto: {email} href. This is particularly useful to link sites with IM tools such as teams or slack

> cat tests/basic_setup/mkdocs_custom_href.yml
site_name: test gitauthors_plugin
use_directory_urls: true

plugins:
    - search
    - git-authors:
        href: "https://teams.microsoft.com/l/chat/0/0?users={email}"

2023-05-10-19-59-51

timvink commented 2 months ago

I seems I completely missed this 🙈 Sorry!

It's a really nice PR, well done. Thanks for contributing!

timvink commented 2 months ago

On pypi now! https://pypi.org/project/mkdocs-git-authors-plugin/