From c3eab1cc3c81cc8a589ed4343dbbbeb2a0027a94 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Tue, 15 Sep 2015 11:41:40 +0100 Subject: [PATCH] Set the current working directory in gendoc.py to the script directory as that is where it expects to be run --- scripts/gendoc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/gendoc.py b/scripts/gendoc.py index e3c3797e..10c3fa90 100755 --- a/scripts/gendoc.py +++ b/scripts/gendoc.py @@ -8,6 +8,8 @@ import shutil import subprocess import sys +os.chdir(os.path.dirname(__file__)) + stylesheets = { "stylesheet_path": ["basic.css", "nature.css"] }