Revert "Fix docs building"

This reverts commit 828de5841227eb9d883077481de2ad8457b97d2a.