Do not generate documentation tags if not available

Change-Id: I17eafecc536e4f72d8f8ef4723c6e2b0dd82d1a9
Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>