From a41d1b249c400ddcaa04a78ac98a2fd14192d32f Mon Sep 17 00:00:00 2001
From: Martyn Gigg <martyn.gigg@stfc.ac.uk>
Date: Wed, 4 Jun 2014 11:46:22 +0100
Subject: [PATCH] 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
---
 Code/Mantid/docs/CMakeLists.txt | 1 -
 1 file changed, 1 deletion(-)

diff --git a/Code/Mantid/docs/CMakeLists.txt b/Code/Mantid/docs/CMakeLists.txt
index be6e1bc8a24..aa074d79122 100644
--- a/Code/Mantid/docs/CMakeLists.txt
+++ b/Code/Mantid/docs/CMakeLists.txt
@@ -28,7 +28,6 @@ if ( SPHINX_FOUND )
 
   # doctest target
   set ( BUILDER doctest )
-  set ( SCREENSHOTS_DIR "" ) # no screenshots
   configure_file ( runsphinx.py.in runsphinx_doctest.py @ONLY )
   add_custom_target ( ${TARGET_PREFIX}-test
     COMMAND ${DOCS_RUNNER_EXE} -xq runsphinx_doctest.py
-- 
GitLab