Mock dependencies when building documentation