mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Update to Sphinx 8.x. Update to myST 4.x. Fix conf.py.
This commit is contained in:
parent
e90e568475
commit
0031d820f2
2 changed files with 4 additions and 4 deletions
|
|
@ -10,7 +10,7 @@ import sys
|
|||
from collections import namedtuple
|
||||
|
||||
# from recommonmark.transform import AutoStructify
|
||||
from sphinx.util.osutil import cd
|
||||
from contextlib import chdir
|
||||
|
||||
# -- Project information -----------------------------------------------------
|
||||
|
||||
|
|
@ -271,7 +271,7 @@ if not _no_autodoc:
|
|||
|
||||
sys.path.insert(1, EV_ROOT)
|
||||
|
||||
with cd(EV_ROOT):
|
||||
with chdir(EV_ROOT):
|
||||
# set up Evennia so its sources can be parsed
|
||||
os.environ["DJANGO_SETTINGS_MODULE"] = "evennia.settings_default"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue