Generates rst files from phpdoc