DOCS-1492: build system integration
build: rst generation fixes for DOCS-1492
minor: whitespace