Skip to content

Implement link checking workflow #46

@matthiasrohmer

Description

@matthiasrohmer

Part of #45. Implement a link checking workflow, that checks for broken links on a page. Ideally the tool only runs on the changed page in a PR (to safe time and prevent positives on files unrelated to the PR) but is also able to check the full site - ideally not statically but served via our own express app.

As mentioned in #45, the problem spans wider than just broken links: we also want to make sure every page we generate is also discoverable (say linked, see GoogleChrome/developer.chrome.com#83) on the site and we also want to make sure our external sources are not broken.

  • Start a product requirements doc (PRD), evaluating and documenting possible existing tools and their pros/cons (https://github.com/untitaker/hyperlink, https://github.com/lycheeverse/lychee, ...) with the goals mentioned above in mind
  • Implement the checking logic in this repo (for example as a gulp task)
  • Add task as a workflow to d.c.c
  • Add task as a workflow to web.dev
  • Fix existing broken links

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

🧐 In Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions