Use this package to add structured data to your docstrings in YAML. Just add a ---delimiter at the bottom, and the rest is parsed as YAML.