build: refactoring sphinx build spec for increased clarity