catch more errors when building the documentation