add doc attribute to documentation map