Skip to content

Commit f8db92e

Browse files
committed
docs(instructions): explain that the instructions array paths are relative by default
Fixes anomalyco#4758 and anomalyco#9368
1 parent 76b10d8 commit f8db92e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎packages/web/src/content/docs/rules.mdx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ Example:
109109
}
110110
```
111111

112+
These paths are relative to the location where opencode runs. To define instructions in the global config (which will always be used), you should use absolute paths in this array.
113+
112114
You can also use remote URLs to load instructions from the web.
113115

114116
```json title="opencode.json"

0 commit comments

Comments
 (0)