auto generation of proper tags in docs