All Projects → timvink → mkdocs-git-authors-plugin

timvink / mkdocs-git-authors-plugin

Licence: MIT license
MkDocs plugin to display git authors of a page.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to mkdocs-git-authors-plugin

mkdocs-exclude-search
🔎 A mkdocs plugin that lets you exclude selected chapters from the search index.
Stars: ✭ 16 (-40.74%)
Mutual labels:  mkdocs, mkdocs-plugin
mkdocs-static-i18n
MkDocs i18n plugin using static translation markdown files
Stars: ✭ 78 (+188.89%)
Mutual labels:  mkdocs, mkdocs-plugin
mkdocs-rss-plugin
MkDocs plugin to generate a RSS feeds for created and updated pages, using git log and YAML frontmatter (page.meta).
Stars: ✭ 43 (+59.26%)
Mutual labels:  mkdocs, mkdocs-plugin
mkdocs-table-reader-plugin
MkDocs plugin that adds a {{ read_csv('table.csv') }} markdown tag to directly insert CSV files as a table into a page.
Stars: ✭ 60 (+122.22%)
Mutual labels:  mkdocs, mkdocs-plugin
mkdocs-section-index
MkDocs plugin to allow clickable sections that lead to an index page
Stars: ✭ 36 (+33.33%)
Mutual labels:  mkdocs, mkdocs-plugin
mkdocs-htmlproofer-plugin
A MkDocs plugin that validates URL in rendered html files
Stars: ✭ 17 (-37.04%)
Mutual labels:  mkdocs, mkdocs-plugin
mkdocs-git-revision-date-localized-plugin
MkDocs plugin to add a last updated date to your site pages
Stars: ✭ 73 (+170.37%)
Mutual labels:  mkdocs, mkdocs-plugin
mkdocs-print-site-plugin
MkDocs Plugin that adds an additional page that combines all pages, allowing easy exports to PDF and standalone HTML.
Stars: ✭ 38 (+40.74%)
Mutual labels:  mkdocs, mkdocs-plugin
mkdocs-literate-nav
MkDocs plugin to specify the navigation in Markdown instead of YAML
Stars: ✭ 19 (-29.63%)
Mutual labels:  mkdocs, mkdocs-plugin
mkdocs-markdownextradata-plugin
A MkDocs plugin that injects the mkdocs.yml extra variables into the markdown template
Stars: ✭ 48 (+77.78%)
Mutual labels:  mkdocs, mkdocs-plugin
mkdocs-drawio-exporter
Exports your Draw.io diagrams at build time for easier embedding into your documentation
Stars: ✭ 50 (+85.19%)
Mutual labels:  mkdocs
navio2-docs
No description or website provided.
Stars: ✭ 36 (+33.33%)
Mutual labels:  mkdocs
tutorials
Collection of tutorials for various libraries and technologies
Stars: ✭ 98 (+262.96%)
Mutual labels:  mkdocs
wtfdocs
The source for https://wtfutil.com
Stars: ✭ 29 (+7.41%)
Mutual labels:  mkdocs
privacyguides.org
Protect your data against global mass surveillance programs.
Stars: ✭ 1,316 (+4774.07%)
Mutual labels:  mkdocs
docs
Source for documentation site
Stars: ✭ 73 (+170.37%)
Mutual labels:  mkdocs
dotfiles
My dotfiles
Stars: ✭ 22 (-18.52%)
Mutual labels:  mkdocs
Mkdocs
Project documentation with Markdown.
Stars: ✭ 13,346 (+49329.63%)
Mutual labels:  mkdocs
mkdocs-jupyter
Use Jupyter Notebook in mkdocs
Stars: ✭ 173 (+540.74%)
Mutual labels:  mkdocs
ImageModels
ImageNet model implemented using the Keras Functional API
Stars: ✭ 63 (+133.33%)
Mutual labels:  mkdocs

Actions Status PyPI - Python Version PyPI PyPI - Downloads codecov GitHub contributors PyPI - License

mkdocs-git-authors-plugin

Lightweight MkDocs plugin to display git authors of a markdown page:

Authors: Jane Doe, John Doe

See the demo. The plugin only considers authors of the current lines in the page ('surviving code' using git blame).

Other MkDocs plugins that use information from git:

Setup

Install the plugin using pip3:

pip3 install mkdocs-git-authors-plugin

Next, add the following lines to your mkdocs.yml:

plugins:
  - search
  - git-authors

If you have no plugins entry in your config file yet, you'll likely also want to add the search plugin. MkDocs enables it by default if there is no plugins entry set.

You can then use the {{ git_page_authors }} tag in your markdown document, or choose to customize your mkdocs theme (see usage page in the docs).

Note when using build environments

This plugin needs access to the last commit that touched a specific file to be able to retrieve the date. By default many build environments only retrieve the last commit, which means you might need to:

Change your CI settings
  • github actions: set fetch_depth to 0 (docs)
  • gitlab runners: set GIT_DEPTH to 1000 (docs)
  • bitbucket pipelines: set clone: depth: full (docs)

Documentation

See timvink.github.io/mkdocs-git-authors-plugin

Contributing

Very much open to contributions! Please read contributing guide before putting in any work.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].