doc: update use of relative/absolute imports

it matters for apworlds to function
This commit is contained in:
black-sliver
2022-09-18 00:00:54 +02:00
parent 4fcde135e5
commit 1c0a93acad
2 changed files with 18 additions and 7 deletions

View File

@@ -23,3 +23,10 @@ No metadata is specified yet.
## Extra Data
The zip can contain arbitrary files in addition what was specified above.
## Caveats
Imports from other files inside the apworld have to use relative imports.
Imports from AP base have to use absolute imports, e.g. Options.py and worlds/AutoWorld.py.