843 B
843 B
Create API documentation
Prerequisites
You need phpDocumentor 2 installed on your system to create the api documentation. Please visit phpdoc's website for more information. Additionally, the graphviz package is required to be installed.
Configuration
phpDocumentator is configured with xml configuration reside in doc/phpdoc.xml. In there you'll find the target path where the documentation is created as html. Default location is doc/api/. Just point to index.html in this directory with a browser.
If you generated the documentation already, you can follow this link.
Generation
Change to Icinga Web 2 root directory (source tree) and run:
bin/createapidoc.sh
Options for createapidoc.sh
--build Optional, silent build mode
--help Displays help message