I have been generating documentation with Docfx and everything works fine. Docfx generates .html
files which is as expected.
However, since html
files an be embedded in php
files, I am looking for a way to generate the files as .php
files rather than .html
which I don't find any information.
I need this feature because I use a PHP templating engine in my application and I wanted to insert template variables in the markdown files for PHP to resolve dynamic values when being loaded in browser.
If this is possible, I would want a guide on how to do this. For instance, if I could locate and modify the file extension in the source code where the files are created.
Thanks in advance.