Skip to content

Pages QA: validate local URL fragments #25

Description

@Codewriter90x

scripts/validate_site.py verifies that local files exist, but it does not yet verify that #fragment targets exist in the destination HTML.

Acceptance criteria:

  • parse fragments for local links;
  • verify the destination page contains the referenced ID;
  • add one positive and one negative unit test;
  • keep the validator dependency-free and deterministic;
  • run Ruff, mypy and the Pages tests.

This task does not modify generated dataset files.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions