espressif / developer-portal

Developer Portal
https://developer.espressif.com
MIT License
7 stars 14 forks source link

ci: Add pre-commit hook and link checker #21

Closed f-hollow closed 3 months ago

f-hollow commented 3 months ago

This PR adds a pre-commit hook and a link checker as part of the hook.

Tried the following packages for link checking (see a nice overview)

Pre-commit hook is offered as optional. But the lychee GitHub action makes sure that broken links don't get deployed.

We will be adding more pre-commit hooks in the future.

f-hollow commented 3 months ago

The review has already been done internally. This PR already looks good.