[ 
https://issues.apache.org/jira/browse/NETBEANS-5244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Trashtoy updated NETBEANS-5244:
-------------------------------
    Description: 
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}

  was:
phpDocumentor support 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 (The same UI is also used in 
PHPUnit)
 # Modify command line arguments

Command line arguments:
 * Current:
 ** {{"/path/to/php" "/usr/local/phpdoc/phpDocumentor.phar" "run" "--ansi" 
"--directory" "/private/path/to/myproject" "--target" 
"/private/path/to/documents" "--title" "My Framework"}}
 * Expected (if XML Configuration checked):
 ** {{"/path/to/php" "/usr/local/phpdoc/phpDocumentor.phar" "run" "--ansi" 
"--directory" "/private/path/to/myproject" "--target" 
"/private/path/to/documents" "--title" "My Framework" 
{color:#FF0000}*"--config" "/private/path/to/myproject/phpdoc.xml"*{color} }}


> Cannot specify XML configuration for phpDocumentor
> --------------------------------------------------
>
>                 Key: NETBEANS-5244
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5244
>             Project: NetBeans
>          Issue Type: Improvement
>            Reporter: Trashtoy
>            Priority: Minor
>         Attachments: phpdoc-20210114-01.png, phpdoc-20210114-02b.png
>
>
> 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