How to generate documentation from tld

This document describes step by step, how to generate documentation from tld and put this documentation in the build. It has only sense, when there are descriptions for tags and attributes in the tld file.