I'm trying to output markdown instead of html with a phpDocumentor 2 template. I am outputting markdown fine but not able to change the filename extension for classes.
The artifact
makes sense when it's a single transformation. When query=indexes.classes
is used how does it decide that the filename should be [class].html
?
I've tried artifact="{CLASS}.md"
, artifact="{{CLASS}}.md"
, artifact=".md"
but it always treats them literally.
<transformations>
<transformation query="indexes.classes" writer="twig" source="templates/docsify-twig/class.md.twig" />
<transformation writer="twig" source="templates/responsive-twig/reports/markers.html.twig" artifact="markers.html"/>
</transformations>