mix_readme v0.2.0 MixReadme.Backend behaviour View Source

Behaviour for rendering the readme template

render!/2: renders the given template with the opts as variables readme_templates/0 returns the paths where the template can be found default_template/0 returns the default template for the backend

Link to this section Summary

Link to this section Callbacks

Specs

default_template() :: binary()

Specs

readme_templates() :: [binary()]

Specs

render!(binary(), map()) :: binary()