Search code examples
mediawikimarkupconfluencephpdoc

Where to place a custom output converter for wiki markup in PHPDoc


I recently upgraded to phpdoc 2 and want to create a solution for outputting my api to wiki markup, instead of html or pdf.

In /usr/share/php5/data/PhpDocumentor/Converters, I see the CHM, HTML, PDF, and XML folders. Is it possible to create a WIKI folder and put the configuration files in there?


Solution

  • You can indeed store your custom output converter there, but you'll also need to write a custom extended Converter class -- http://manual.phpdoc.org/HTMLSmartyConverter/HandS/li_Converters.html