Hey,
Here's the thing, I use phpDocumentor for some of my PHP projects and it works fine. Problem is that it generates documentation files for each of the pages in my project.
When I look in the phpDocumentor generated files I can see the documentation for all my classes but the page links give me this error:
Code:
Parse error: syntax error, unexpected T_STRING in /var/www/vhosts/domain.ro/httpdocs/project/docs/package/file.php.html on line 1
I've noticed that the first line in each of the documentation files is:
Code:
<?xml version="1.0" encoding="iso-8859-1"?>
I don't know thy is that because the files are .html so I've deleted the first line and then the error form the phpDocumentor documentation goes away.
Since I don't know any way of configuring phpDocumentor to not add the that line I'm searching for a way to remove the first line from each of the files in that directory each time the documentation is regenerated.
Problem is I'm not that good with batch editing files... any ideas ?!