python docs: Added CMake cache var toggle building of sphinx documentation.