Fixed documentation build bugs