Use screenshots in doctest build too.

If we dont and you run the doctest before html generation then you don't
see a screenshot because sphinx won't have reprocessed the file.
Refs #9593
Merge branch 'feature/9593_docs_build_in_jenkins_scripts' into develop