generate better <title> in documentation