Exclude artifacts

You can use annotation tags to exclude toolkit artifacts from the generated documentation.

You can use the @exclude annotation to exclude an artifact and any artifact that is a component of an excluded container artifact, such as an excluded toolkit, namespace, or SPL file. You can also include an artifact that is within an excluded container artifact.

@exclude
Specifies a toolkit artifact that is excluded. All artifacts that are contained within this artifact are also excluded unless explicitly included.
@include
Specifies a toolkit artifact that is not excluded even if contained within an excluded artifact.

In the following example, the namespace-info.spl file contains an @exclude tag, which excludes the namespace, and any associated artifacts that are in the namespace, from the generated output.

Note: Excluding a namespace, such as "namespace1", does not exclude another namespace that extends the name of the excluded namespace, such as "namespace1.subspace".
/**
* Optional description of the namespace.
* @exclude
*/