# Generate CM Javadocs

Prerequisite: all artifacts need to be generated and the code needs to be compiled without errors.

The first step is to generate Javadocs for CM code. The standard behavior of the Javadoc tool is to create indices that show the packages and classes of the source code that the tool was run on. The resulting indices will only show links to the CM classes and not the product's. To recreate the indices so that they include both the CM and the product's Javadocs, follow the next step.

Parent topic: Creating Javadocs for CM Source Code