Add some doc links and only show doc link if not NULL