Fix document generator to remove trailing space in generated document.
Update generated document.
Merge pull request #2230 from take-cheeze/doc_update

Fix document generator to remove trailing space in generated document.