[ 
https://issues.apache.org/jira/browse/NETBEANS-5244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17266607#comment-17266607
 ] 

Tomáš Procházka commented on NETBEANS-5244:
-------------------------------------------

To answer my question: I tested, that phpDocumentor is not run from project 
folder, so it will not find and use {{phpdoc.xml}} in project.


> Cannot specify XML configuration for phpDocumentor
> --------------------------------------------------
>
>                 Key: NETBEANS-5244
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5244
>             Project: NetBeans
>          Issue Type: Improvement
>          Components: php - PHPDoc
>            Reporter: Trashtoy
>            Assignee: Junichi Yamamoto
>            Priority: Minor
>              Labels: pull-request-available
>         Attachments: phpdoc-20210114-01.png, phpdoc-20210114-02b.png
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> phpDocumentor supports XML configuration: [phpDocumentor - 
> configuration|https://docs.phpdoc.org/3.0/guide/references/configuration.html]
>  However documentation tool of NetBeans cannot specify custom XML file.
> How to fix:
>  # Add optional {{"Use XML configuration"}} UI in phpDocumentor settings (The 
> same UI is also used in PHPUnit)
>  # Modify command line arguments
> Command line arguments:
>  * Current:
> {noformat}
> "/path/to/php" "/usr/local/phpdoc/phpDocumentor.phar" "run" "--ansi" 
> "--directory" "/private/path/to/myproject" "--target" 
> "/private/path/to/documents" "--title" "My Framework"{noformat}
>  * Expected (if XML Configuration checked):
> {noformat}
> "/path/to/php" "/usr/local/phpdoc/phpDocumentor.phar" "run" "--ansi" 
> "--directory" "/private/path/to/myproject" "--target" 
> "/private/path/to/documents" "--title" "My Framework" "--config" 
> "/private/path/to/myproject/phpdoc.xml"{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to