frequenz-floss / frequenz-repo-config-python

Frequenz repository setup tools and common configuration for Python
https://frequenz-floss.github.io/frequenz-repo-config-python/
MIT License
3 stars 7 forks source link

Add support to render GitHub Alerts in mkdocs #218

Open llucax opened 5 months ago

llucax commented 5 months ago

What's needed?

Make documents that are normally rendered by GitHub, like README.md or CONTRIBUTING.md, as readable and good looking as possible.

Proposed solution

In particular, admonitions are very useful, and GitHub recently added support for Alerts, which are basically admonitions.

The markdown-callouts also recently added support for GitHub Alerts so we can use that extension in files that are rendered by GitHub.

The syntax is not as flexible as the markdown extensions admonitions, so we can still use those in docs/ and in docstrings.

llucax commented 4 months ago

Example: