Fix breaking doc build
Merge pull request #1708 from dmcdougall/fix_doc_fail

Fix breaking doc build