Skip to content

Commit

Permalink
Enable sphinx to be run without MantidPlot.
Browse files Browse the repository at this point in the history
Refs #9639
  • Loading branch information
martyngigg committed Jun 18, 2014
1 parent 2e96b85 commit 935bda1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Code/Mantid/docs/runsphinx.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 != "":
Expand Down

0 comments on commit 935bda1

Please sign in to comment.