Slice 3: Documentation update for XDG defaults #24

Closed
opened 2026-06-04 09:29:57 +02:00 by AlexKucera · 0 comments
AlexKucera commented 2026-06-04 09:29:57 +02:00 (Migrated from github.com)

Parent

#21 — Feature: XDG config path resolution with CWD fallback

What to build

Update docs/mkdocs/configuration.md and any other documentation that references file locations to reflect the new XDG-first search behavior. Add a "Default locations" section explaining the search order, auto-creation of the XDG directory, and the difference between missing config (non-fatal) vs missing secrets (fatal). Update the CLI flag descriptions (--config, --secrets, --history) to note that they override the default search. Update the error message table with the new "file not found" errors that list searched paths.

Acceptance criteria

  • configuration.md documents XDG ~/.config/librofm-downloader/ as primary default location
  • Search order (XDG first, CWD second) is clearly stated
  • Auto-creation of XDG directory is documented
  • Missing-config vs missing-secrets behavior difference is documented
  • --config/--secrets/--history flags documented as overriding default search
  • Error message table includes new "not found" errors with searched paths
  • History file default location documented alongside config/secrets
  • MkDocs site builds successfully with updated content

Blocked by

#22 — Slice 1: Path resolution engine & config loading

## Parent #21 — Feature: XDG config path resolution with CWD fallback ## What to build Update `docs/mkdocs/configuration.md` and any other documentation that references file locations to reflect the new XDG-first search behavior. Add a "Default locations" section explaining the search order, auto-creation of the XDG directory, and the difference between missing config (non-fatal) vs missing secrets (fatal). Update the CLI flag descriptions (`--config`, `--secrets`, `--history`) to note that they override the default search. Update the error message table with the new "file not found" errors that list searched paths. ## Acceptance criteria - [ ] `configuration.md` documents XDG `~/.config/librofm-downloader/` as primary default location - [ ] Search order (XDG first, CWD second) is clearly stated - [ ] Auto-creation of XDG directory is documented - [ ] Missing-config vs missing-secrets behavior difference is documented - [ ] `--config`/`--secrets`/`--history` flags documented as overriding default search - [ ] Error message table includes new "not found" errors with searched paths - [ ] History file default location documented alongside config/secrets - [ ] MkDocs site builds successfully with updated content ## Blocked by #22 — Slice 1: Path resolution engine & config loading
Sign in to join this conversation.