improve tag generation documentation