More debug output during doc build

This commit is contained in:
Griatch 2021-02-24 23:12:28 +01:00
parent 7d78c20a5a
commit b17cb58846

View file

@ -187,7 +187,10 @@ if not _no_autodoc:
) )
raise RuntimeError(err) raise RuntimeError(err)
print("Evennia root: {}, Game dir: {}".format(EV_ROOT, GAME_DIR)) print("Evennia root: {}, Game dir: {}, branch:".format(EV_ROOT, GAME_DIR)),
import subprocess
subprocess.call(["git", "rev-parse", "--abbrev-ref", "HEAD"])
subprocess.call("pwd")
sys.path.insert(1, EV_ROOT) sys.path.insert(1, EV_ROOT)
sys.path.insert(1, GAME_DIR) sys.path.insert(1, GAME_DIR)