Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions docs/config/context.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,17 @@ All paths support the following modifiers:

### System separators

Use these fields by enclosing the separator character in braces. Hatch replaces
only the context fields; literal `/` and `;` characters are left unchanged.

| Field | Description |
| --- | --- |
| `/` | `\` on Windows, `/` otherwise |
| `;` | `;` on Windows, `:` otherwise |
| `{/}` | `\` on Windows, `/` otherwise |
| `{;}` | `;` on Windows, `:` otherwise |

For example, `data{/}generated` expands to `data\generated` on Windows and
`data/generated` otherwise, while `src{;}tests` expands to `src;tests` on
Windows and `src:tests` otherwise.

### Environment variables

Expand Down