mirror of
https://github.com/evennia/evennia.git
synced 2026-04-03 14:37:17 +02:00
More debug output during doc build
This commit is contained in:
parent
034b237c25
commit
72b3e18ee4
1 changed files with 4 additions and 1 deletions
|
|
@ -187,7 +187,10 @@ if not _no_autodoc:
|
|||
)
|
||||
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, GAME_DIR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue