Skip to content

Commit ac8fcf2

Browse files
committed
fix(docs): correct global user config file location
The global user configuration is stored in the platform-specific user config directory as a robot.toml file, not at ~/.robot.toml in the home directory. Document the actual per-platform paths (Linux ~/.config, macOS ~/Library/Application Support, Windows %LOCALAPPDATA%) so the file is placed where RobotCode actually looks for it. Fixes #637
1 parent fed0172 commit ac8fcf2

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

docs/02_get_started/configuration.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,10 @@ and many more, see the [`robot.toml` reference](../03_reference/config.md) for a
216216
RobotCode loads configuration files in a specific sequence, with each file potentially overriding settings from previous ones:
217217

218218
1. **Global user configuration**
219-
- Located at `~/.robot.toml` (user's home directory)
219+
- Located in the platform-specific user configuration directory as a `robot.toml` file:
220+
- Linux: `~/.config/robotcode/robot.toml` (or `$XDG_CONFIG_HOME/robotcode/robot.toml`)
221+
- macOS: `~/Library/Application Support/robotcode/robot.toml`
222+
- Windows: `%LOCALAPPDATA%\robotcode\robot.toml`
220223
- Sets system-wide defaults
221224

222225
2. **Project `pyproject.toml`**

0 commit comments

Comments
 (0)