Fix offline doc build and test when you don't have a internet connection
Merge pull request #1195 from Cadair/offline_doc_test

[BugFix]: Fix offline doc build and test when you don't have a internet connection