Update doc build makefile

This commit is contained in:
Griatch 2021-01-30 15:57:23 +01:00
parent 455923c36e
commit 255df229e3
3 changed files with 7 additions and 10 deletions

View file

@ -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)

View file

@ -1,5 +1,5 @@
# Toc
- [API root](api/evennia-api.rst)
- [Coding/Coding Introduction](Coding/Coding-Introduction)
- [Coding/Coding Overview](Coding/Coding-Overview)
- [Coding/Continuous Integration](Coding/Continuous-Integration)