diff --git a/Code/Mantid/docs/runsphinx.py.in b/Code/Mantid/docs/runsphinx.py.in index fe2d50b7a84292a272cb2c930bbede595f453e92..bb6a822e80b1766d81927a35f0f6898e6559d4e2 100644 --- a/Code/Mantid/docs/runsphinx.py.in +++ b/Code/Mantid/docs/runsphinx.py.in @@ -6,6 +6,9 @@ import os import sys def main(): + # Update path to find mantid + sys.path.insert(0, "@CMAKE_LIBRARY_OUTPUT_DIRECTORY@") + # Update environment with screenshots path screenshots_dir = "@SCREENSHOTS_DIR@" if screenshots_dir != "":