Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-5244

Cannot specify XML configuration for phpDocumentor

    XMLWordPrintableJSON

Details

    Description

      phpDocumentor supports XML configuration: phpDocumentor - configuration
      However documentation tool of NetBeans cannot specify custom XML file.

      How to fix:

      1. Add optional "Use XML configuration" UI in phpDocumentor settings (The same UI is also used in PHPUnit)
      2. 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" "--config" "/private/path/to/myproject/phpdoc.xml"

      Attachments

        1. phpdoc-20210114-01.png
          684 kB
          Trashtoy
        2. phpdoc-20210114-02b.png
          65 kB
          Trashtoy

        Issue Links

          Activity

            People

              junichi11 Junichi Yamamoto
              trashtoy Trashtoy
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h
                  2h