Skip to content

Commit edbce9b

Browse files
committed
Improved service root folder wording
1 parent 5d43648 commit edbce9b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

doc/source/services.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ Services support a range of options and interactions not yet
8080
documented here but all accessible via calling other methods of the
8181
``service`` reference.
8282

83-
This kind of service has the app root folder in sys.path instead
84-
of the folder where it's file is. This means that you have to
85-
type "import service.module" instead of "import module", if the
86-
service file is in "service/" folder
83+
.. note:: The app root directory for Python imports will be in the app
84+
root folder even if the service file is in a subfolder. To import from
85+
your service folder you must use e.g. ``import service.module``
86+
instead of ``import module``, if the service file is in the
87+
``service/`` folder.

0 commit comments

Comments
 (0)