Skip to content

docs: correct default ia.ini location#766

Merged
jjjake merged 2 commits into
jjjake:masterfrom
bkjoh:docs/correct-ia-ini-path
May 5, 2026
Merged

docs: correct default ia.ini location#766
jjjake merged 2 commits into
jjjake:masterfrom
bkjoh:docs/correct-ia-ini-path

Conversation

@bkjoh
Copy link
Copy Markdown
Contributor

@bkjoh bkjoh commented Apr 26, 2026

Summary

Updates documentation for the default ia.ini config path.

Changes

  • Document ~/.config/internetarchive/ia.ini as the default path when XDG_CONFIG_HOME is unset or invalid.
  • Document $XDG_CONFIG_HOME/internetarchive/ia.ini when XDG_CONFIG_HOME is set to an absolute path.
  • Mention the Windows example path.
  • Clarify that ~/.config/ia.ini and ~/.ia remain legacy fallback paths.
  • Update Python usage examples that referenced ~/.config/ia.ini.
  • Update the get_config docstring so the config_file parameter refers to the path selected by parse_config_file.

Validation

  • Not run locally. Documentation-only change.

Closes #765.

@bkjoh bkjoh changed the title docs: correct default ia.ini config path docs: correct default ia.ini config path Apr 28, 2026
@bkjoh bkjoh changed the title docs: correct default ia.ini config path docs: correct default ia.ini location Apr 28, 2026
@jjjake jjjake merged commit 5c2e162 into jjjake:master May 5, 2026
12 checks passed
@jjjake
Copy link
Copy Markdown
Owner

jjjake commented May 5, 2026

Thank you @bkjoh! Sorry for the delay in getting this merged, I appreciate the contribution.

@bkjoh bkjoh deleted the docs/correct-ia-ini-path branch May 5, 2026 20:08
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.

Document current default ia.ini location

2 participants