mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix syspath
This commit is contained in:
parent
d40fe5f2c9
commit
042b8e4046
2 changed files with 3 additions and 3 deletions
|
|
@ -223,7 +223,7 @@ autodoc_default_options = {
|
|||
}
|
||||
|
||||
autodoc_member_order = "bysource"
|
||||
autodoc_typehints = "description"
|
||||
# autodoc_typehints = "description"
|
||||
|
||||
|
||||
def autodoc_skip_member(app, what, name, obj, skip, options):
|
||||
|
|
@ -315,8 +315,7 @@ def setup(app):
|
|||
app.add_transform(AutoStructify)
|
||||
|
||||
# build toctree file
|
||||
sys.path.insert(1, os.path.join(
|
||||
os.path.dirname(os.path.dirname(os.path.dirname(__file__))), "docs"))
|
||||
sys.path.insert(1, os.path.dirname(os.path.dirname(os.path.dirname(__file__))))
|
||||
from docs.pylib import auto_link_remapper
|
||||
|
||||
auto_link_remapper.auto_link_remapper()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue