blackstork-io / fabric

An open-source command-line tool for reporting workflow automation and a configuration language for reusable templates. Reporting-as-Code
https://blackstork.io/fabric/
Apache License 2.0
12 stars 0 forks source link

Store metadata next to plugins code #124

Closed traut closed 1 month ago

traut commented 2 months ago

Background

The plugins and the data sources / content providers often require additional instructions and examples of the usage. At the moment this information is not stored anywhere.

Design

Store the metadata for the plugin/data sources/content providers next to the source code in a structured way so it can be used with the docgen tool to generate the documentation.

Plugin metadata

Data sources metadata

Content provider metadata

Additions

docgen should generate README.md per plugin file using the metadata form source / providers (description / tags / etc fields) and place it in the plugin's source folder