Skip to content

fix(confluence): respect --ignore-relative-link-errors flag#23

Merged
geopanther merged 1 commit into
mainfrom
fix/respect-ignore-relative-link-errors
Apr 28, 2026
Merged

fix(confluence): respect --ignore-relative-link-errors flag#23
geopanther merged 1 commit into
mainfrom
fix/respect-ignore-relative-link-errors

Conversation

@geopanther

Copy link
Copy Markdown
Owner

Summary

_validate_relative_links was copied from mdfluence but never checked the --ignore-relative-link-errors CLI flag. The flag existed in the CLI argument parser but was never wired up.

Changes

  • Pass ignore_relative_link_errors from args into _validate_relative_links
  • Validation still runs and logs errors regardless of the flag
  • SystemExit only raised when the flag is not set

Tests performed

  • Pre-commit hooks pass (ruff, bandit, ty, tox)

_validate_relative_links was copied from mdfluence but never checked
the ignore_relative_link_errors CLI flag. Now validation still runs
and logs errors, but only aborts when the flag is not set.
@geopanther
geopanther merged commit b55352b into main Apr 28, 2026
5 checks passed
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.

1 participant