A mix task to generate Aglio documentation
Needs Aglio to work
npm install -g aglio
Add dependency to your mix.exs
def deps do
[
{:mix_docs, "~> 0.1.0"}
]
end
Create the blueprint file
mkdir docs
touch blueprint.apib
Documentation of aglio can be found here https://github.com/danielgtaylor/aglio
Generate documentation
mix docs
Generate documentation everytime blueprint.apib changes
mix docs --watch