You can include the source code on the generated documentation.
From the menu bar, click Window > Preferences to open the [Preferences] dialog box.
Expand the Talend node and click Documentation to display the documentation preferences.
Customize the documentation preferences according to your needs:
Select the Source code to HTML generation check box to include the source code in the HTML documentation that you will generate.
Select the Use CSS file as a template when export to HTML check box to activate the CSS File field if you need to use a CSS file to customize the exported HTML files.