Skip to content

test: guard relative doc links - #48

Closed
chiranjeevi7777 wants to merge 1 commit into
mloda-ai:mainfrom
chiranjeevi7777:test/guard-relative-doc-links
Closed

test: guard relative doc links#48
chiranjeevi7777 wants to merge 1 commit into
mloda-ai:mainfrom
chiranjeevi7777:test/guard-relative-doc-links

Conversation

@chiranjeevi7777

Copy link
Copy Markdown

This PR implements a linter test guarding relative markdown links within the repository.

Changes

  • Implements tests/test_doc_links.py to scan all committed/tracked markdown files.
  • Extracts relative markdown link targets and asserts that their targets exist in the workspace.
  • Ignores external URLs (http, https, mailto, etc.) and same-file hash anchors.
  • Integrates with tox and supports type annotations matching mypy --strict standards.

Closes #46.

@chiranjeevi7777 chiranjeevi7777 closed this by deleting the head repository Jul 15, 2026
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.

[Need support]: Add a test guarding relative markdown links

1 participant