solve many documentation build errors