Cobby Posted March 27, 2008 Share Posted March 27, 2008 Hi all, Sort of the first time using phpDocumentor and I have a little problem. As required by the GNU GPL, you need that little license info at the top "This file is part of Foobar...". But phpDocumentor documents this and it will be at the top of EVERY file in my project. How can I get it to ignore an entire DocBlock or just a section of one? Cheers, Cobby Link to comment https://forums.phpfreaks.com/topic/98130-ignoring-docblocks-in-phpdocumentor/ Share on other sites More sharing options...
Cep Posted March 27, 2008 Share Posted March 27, 2008 You may want to consider not using the docblock for the GNU GPL part of your script and using a standard comment block instead. Other then that this place should help you http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_tags.pkg.html Link to comment https://forums.phpfreaks.com/topic/98130-ignoring-docblocks-in-phpdocumentor/#findComment-501992 Share on other sites More sharing options...
Cobby Posted March 27, 2008 Author Share Posted March 27, 2008 Ha thanks for that, didn't even think. But I got a better question, is there a program that can add the license to that top of every PHP file in a given directory. I can set up my IDE to add it as part of the new PHP file template, but if I ever need to change anything, I then have to go through every file and change it (which will be several hundred by the time the project is finished.). EDIT: Even better, I'll just make a PHP script Link to comment https://forums.phpfreaks.com/topic/98130-ignoring-docblocks-in-phpdocumentor/#findComment-501993 Share on other sites More sharing options...
Cep Posted March 27, 2008 Share Posted March 27, 2008 You could just use an include too Link to comment https://forums.phpfreaks.com/topic/98130-ignoring-docblocks-in-phpdocumentor/#findComment-501995 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.