The build process of the documentation should raise an error in case a link is/becomes invalid.
E.g. a site could have the link [Link](/docs/getting-started/lifecycle-hooks), but the page might have moved to /docs/getting-started/lifecycle-hooks in the meanwhile. The link /docs/getting-started/lifecycle-hooks is now broken.
It would be great if this could be detected automatically e.g. how docusaurus does!