8.13. Make DocBook Files

./script/solar make-docbook --package-dir=/path/to/package-docs --class-dir=/path/to/class-docs --docbook-dir=/path/to/docbook-output

This command reads the wiki-like class and package documentation files generated by make-docs and transforms them into DocBook sources suitable for processing by the PHP Documentation Project PhD processor or another DocBook processor. It uses the input documentation directories noted by --package-dir and --class-dir, and saves the transformed output files to the directory noted by --docbook-dir.

[Note] Note

You need not issue make-docs and then make-docbook if you want DocBook files. You can do the conversion all at once using make-docs by passing the optional --docbook-dir value.