Skip to content

Fix links with invalid fragments #6599

@chalin

Description

@chalin

To see the current invalid links run:

$ ./scripts/double-check-refcache-4XX.mjs -f -m 0
Checking static/refcache.json for 4XX status URLs ...
Skipping 206: https://docs.spring.io/spring-framework/docs/current/reference/html/integration.html#jms (last seen 10/1/2025) INVALID FRAGMENT
Skipping 200: https://elixir.bootlin.com/linux/v6.8.7/source/include/uapi/linux/in.h#L28 (last seen 10/1/2025) INVALID FRAGMENT
...

Look for URLs reported to have "INVALID FRAGMENT". For each such URL:

  • Find the correct URL, which might just need a fragment update, or maybe the entire URL
  • Remove the invalid URL from the refcache.json file.

To test any external URLs with fragments for validity, run the command above with a non-zero argument to -m.

Metadata

Metadata

Assignees

Labels

CI/infraRepo CI & infrastructuretriage:acceptedIssue has been accepted and a PR can be created

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions