solve many different kind of documentation build errors