More debug output during doc build
This commit is contained in:
parent
7d78c20a5a
commit
b17cb58846
1 changed files with 4 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue