[TIDOC-1341] Fix doc bugs causing doc build scripts to break