Fixes issue when building documentation with spaces in the project directory path.
Merge pull request #1166 from lmirosevic/fix-for-spaces-in-path

Fixes issue when building documentation with spaces in the project directory path.