What's needed?
We need to remove the boilerplate code (_slugify(), hack to plug to mkdocstrings, etc) from the template to reduce the noise and repetition.
Proposed solution
Move the clutter from cookiecutter/\{\{cookiecutter.github_repo_name\}\}/docs/_scripts/macros.py to src/frequenz/repo/config/mkdocs/macros.py.
Use cases
No response
Alternatives and workarounds
No response
Additional context
No response