Skip to content

Commit 246624f

Browse files
committed
Add docs for allow_external
1 parent 8d79694 commit 246624f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/introduction/advanced-settings.mdx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,19 @@ Controls import path overrides during import resolution.
309309
310310
Enables and disables resolution of imports from `sys.path`.
311311

312+
<Note>
313+
For this to properly work, you may also need to enable `allow_external`.
314+
</Note>
315+
316+
## Flag: `allow_external`
317+
> **Default: `False`**
318+
319+
Enables resolving imports, files, modules, and directories from outside of the repo path.
320+
321+
<Warning>
322+
Turning this flag off may allow for bad actors to access files outside of the repo path! Use with caution!
323+
</Warning>
324+
312325
## Flag: `ts_dependency_manager`
313326
> **Default: `False`**
314327

0 commit comments

Comments
 (0)