mkdocs-material-codeberg-source-facts¶
This plugin allows you to display the source facts from codeberg. For example without this plugin one has

and afterwards

Installation¶
Install via pypi
pip install mkdocs-material-codeberg-source-facts
Configuration¶
Add to your plugins in mkdocs.yml
mkdocs.yml
theme:
name: material
plugins:
- codeberg-source-facts
- search
Development¶
The heavy lifting is done in mkdocs_material_codeberg_source_facts/add_source_facts_from_codeberg.js. This file is currently test free and manually maintained, so please take care when modifying.
In addition to better code quality and tests, a change that would be appreciated is support for general forgejo, gitea instances. This might be simple, but as I would be unable to test it, I refrained from trying.