docums-git-authors-plugin
Lightweight Docums 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 Docums plugins that use information from git:
- docums-git-revision-date-localized-plugin for displaying the last revision date
Setup
Install the plugin using pip3:
pip3 install docums-git-authors-plugin
Next, add the following lines to your docums.yml:
plugins:
- search
- git-authors
If you have no
pluginsentry in your config file yet, you'll likely also want to add thesearchplugin. Docums enables it by default if there is nopluginsentry set.
You can then use the {{ git_page_authors }} tag in your markdown document, or choose to customize your docums 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
Documentation
Metadata
Release files for docums-git-authors-plugin 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| docums-git-authors-plugin-1.0.tar.gz | 14.4 kB | Without provenance | Details |
Security for docums-git-authors-plugin 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.