Update doc build makefile
This commit is contained in:
parent
31bc958d86
commit
19586d22e1
3 changed files with 7 additions and 10 deletions
|
|
@ -187,7 +187,9 @@ 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"])
|
||||
|
||||
sys.path.insert(1, EV_ROOT)
|
||||
sys.path.insert(1, GAME_DIR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue