Skip to content

Harden documentation checks and docs-only CI detection - #103

Merged
Paladin173 merged 1 commit into
mainfrom
issue-101
Aug 27, 2026
Merged

Paladin173 merged 1 commit into
mainfrom
issue-101

Conversation

@Paladin173

Copy link
Copy Markdown
Collaborator

What changed

  • Reject Markdown links and images whose resolved targets escape the repository, including through symlinks.
  • Extract docs-only CI classification into a fail-safe, testable Python helper.
  • Add regression coverage for traversal, symlink, invalid, empty, mixed, uppercase, fallback, and rename cases.
  • Document the tooling behavior.

Testing

  • python -m unittest discover -s tools/tests -p 'test_*.py' -v (59 passed)
  • python tools/check_markdown.py
  • python tools/extract_webui_scripts.py
  • node --check build/webui-scripts/*.js
  • ./gradlew.bat testDebugUnitTest --no-daemon
  • ./gradlew.bat lintDebug --no-daemon

Closes #101

@Paladin173 Paladin173 self-assigned this Aug 27, 2026
@Paladin173 Paladin173 added the bug Something isn't working label Aug 27, 2026
@Paladin173 Paladin173 closed this Aug 27, 2026
@Paladin173 Paladin173 reopened this Aug 27, 2026
@Paladin173
Paladin173 merged commit 4357dbc into main Aug 27, 2026
22 checks passed
@Paladin173
Paladin173 deleted the issue-101 branch August 27, 2026 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Harden docs CI path containment and behavior-test the docs-only classifier

1 participant