FIX: Fix documentation generation on RTD

Update mocking to improve RTD documentation generation