mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix for the clashing doc-branch issue
This commit is contained in:
parent
ae1820d73f
commit
e7518eee75
1 changed files with 0 additions and 12 deletions
|
|
@ -178,11 +178,6 @@ if not _no_autodoc:
|
|||
|
||||
EV_ROOT = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
|
||||
print(f"Evennia root: {EV_ROOT}, branch:")
|
||||
import subprocess
|
||||
subprocess.call(["git", "rev-parse", "--abbrev-ref", "HEAD"])
|
||||
subprocess.call("pwd")
|
||||
|
||||
sys.path.insert(1, EV_ROOT)
|
||||
|
||||
with cd(EV_ROOT):
|
||||
|
|
@ -198,13 +193,6 @@ if not _no_autodoc:
|
|||
evennia._init()
|
||||
|
||||
from evennia.utils.ansi import strip_raw_ansi as ansi_clean
|
||||
try:
|
||||
from evennia.contrib import crafting # noqa
|
||||
except ImportError:
|
||||
print("--- NOT develop branch!")
|
||||
else:
|
||||
print("--- Develop branch!")
|
||||
|
||||
|
||||
if _no_autodoc:
|
||||
exclude_patterns = ["api/*"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue