Using integrated ApiGen from the IDE, we will run the documentation generator. Note that we need to define the target directory to store the HTML documents. Let's create the HTML documentation for our sample project, according to the following steps:
1. Right-click on the
chapter5
project node. From the context menu, choose Properties | ApiGen, and the following Project Properties window will be displayed:2. From the previous Project Properties window, define the Target Directory where the HTML pages will be stored, and uncheck the PHP box for excluding PHP's default elements from the documentation. In this project, let's create a directory named
doc
as the target directory inside the project, so that the documentation can be browsed athttp://localost/chapter5/doc/
.3. Click on OK to save the settings.
4. Now, right-click on the
chapter5
project node. This will generate a menu, which will look similar to the following screenshot:...