[TIDOC-1169] Fix typos which caused docgen to fail