mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix os path to docs dir in standalone mode
This commit is contained in:
parent
e97dd38637
commit
5191b2e4e8
1 changed files with 2 additions and 2 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,7 +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(__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