Change the template strategy: allow custom templates from packages
Proposal:
- don't copy the templates at the root of the fairified project
- copy only the necessary templates in the report folder during render:
- use
.template_dependenciesfile in the report folder and in the template folder to list necessary templates - syntax of the file is
[package]:[template name]for examplefairify:inrae - the
.template_dependenciesin the template folder ensures to process the dependencies in a recursion for copying the templates during render - use
on.exitfor deleting the templates after rendering
- use
- change all paths
../../templatesbytemplates