Revert "remove conditional installation of docs, it has no effect on translations"
This reverts commit 9383159c970ec3ca6f7124d4712afc623c16b482.