Skip to content

fix(docs): replace ~/.squad/ with platform-specific path references#345

Closed
jsturtevant wants to merge 1 commit intobradygaster:mainfrom
jsturtevant:squad/343-fix-personal-squad-path-docs
Closed

fix(docs): replace ~/.squad/ with platform-specific path references#345
jsturtevant wants to merge 1 commit intobradygaster:mainfrom
jsturtevant:squad/343-fix-personal-squad-path-docs

Conversation

@jsturtevant
Copy link
Copy Markdown
Contributor

Closes #343

Replaces hardcoded ~/.squad/ references in docs and code comments with platform-aware descriptions.

Problem

The SDK correctly resolves personal squad paths via resolveGlobalSquadPath() (Linux: ~/.config/squad/, macOS: ~/Library/Application Support/squad/, Windows: %APPDATA%\squad\), but docs were using ~/.squad/ which doesn't match any platform.

Solution

Documentation changes:

  • personal-squad.md: Added platform comparison table, replaced all hardcoded ~/.squad/ references
  • installation.md: Clarified platform-specific paths in setup and troubleshooting
  • cli.md, config.md, sdk.md: Updated resolution order to show actual platform paths
  • api-reference.md: Expanded resolveGlobalSquadPath() examples for all platforms

Code changes:

  • consult.ts: Updated JSDoc comments to reference the resolver function instead of hardcoded paths

Files changed

  • 7 docs files
  • 1 SDK source file (comments only)

All references now correctly describe the platform-specific behavior.

Working as PAO (DevRel)

Closes bradygaster#343

Replaces hardcoded `~/.squad/` references throughout documentation
and code comments with platform-aware descriptions.

The SDK correctly resolves personal squad paths via
`resolveGlobalSquadPath()`:
- Linux: `~/.config/squad/`
- macOS: `~/Library/Application Support/squad/`
- Windows: `%APPDATA%\squad\`

However, docs were consistently using `~/.squad/` which doesn't
match any platform's actual path.

Changed:
- personal-squad.md: Added platform table, replaced all hardcoded paths
- installation.md: Clarified platform-specific paths in setup instructions
- cli.md, config.md, sdk.md: Updated resolution order documentation
- api-reference.md: Expanded path examples for all platforms
- consult.ts: Updated JSDoc comments to reference the resolver function

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jsturtevant jsturtevant changed the base branch from dev to main March 11, 2026 02:18
@jsturtevant
Copy link
Copy Markdown
Contributor Author

Closing — branch was created from dev. Will re-do from main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Personal squad docs reference ~/.squad/ instead of platform-specific paths

1 participant