HelpNDoc allows you to include or exclude topics during documentation generation based on their tags or statuses. This makes it possible to tailor outputs for different audiences or purposes without duplicating projects. Conditional generation settings are defined per build in the Generate Documentation dialog.

Conditional generation by tags

Topics can be assigned one or more tags, which can then be used to filter content for specific builds.

This feature is particularly useful for creating role-specific outputs, such as documentation for administrators, developers, or end users.

Conditional generation by status

Each topic can also have a status to indicate its level of completeness or review stage.

This feature is useful for filtering drafts, excluding outdated material, or generating documentation intended for review.

Combining tags and statuses

Both filters can be used together:

By configuring conditional generation, you can produce multiple customized outputs from a single HelpNDoc project, ensuring that each audience receives only the relevant information.