Commit Graph

7 Commits

Author SHA1 Message Date
Daniel (dB.) Doubrovkine 77d4fb409a
Removed forced options, cleaned up link checker args. ()
Signed-off-by: dblock <dblock@amazon.com>
2023-08-09 12:37:10 -04:00
Daniel (dB.) Doubrovkine f05de0e5f5
Use a different user-agent. ()
Signed-off-by: dblock <dblock@amazon.com>
2023-06-13 16:25:08 -04:00
kolchfa-aws 9209c0a6bc
Fix links for link checker ()
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
2023-06-13 15:06:50 -04:00
Daniel (dB.) Doubrovkine 680c821937
Add CI with link checker. ()
* Add CI with link checker.

Signed-off-by: dblock <dblock@amazon.com>

* Capture URI::InvalidURIError.

Signed-off-by: dblock <dblock@amazon.com>

* Use HEAD and catch URI errors.

Signed-off-by: dblock <dblock@amazon.com>

* Retry on a 405 with a GET.

Signed-off-by: dblock <dblock@amazon.com>

* Replaced external link checker with ruby-link-checker.

Signed-off-by: dblock <dblock@amazon.com>

* Don't exit with an exception.

Signed-off-by: dblock <dblock@amazon.com>

* Run internal link checker on build/ci.

Signed-off-by: dblock <dblock@amazon.com>

* Added broken links issue template.

Signed-off-by: dblock <dblock@amazon.com>

* Added host exclusions that 404 or fail on bots.

Signed-off-by: dblock <dblock@amazon.com>

* Raise anyway because Jekyll does it for us.

Signed-off-by: dblock <dblock@amazon.com>

* Fix broken links.

Signed-off-by: dblock <dblock@amazon.com>

* Only run link checker on main.

Signed-off-by: dblock <dblock@amazon.com>

* Re-add check-links.sh.

Signed-off-by: dblock <dblock@amazon.com>

* Run once a day on cron.

Signed-off-by: dblock <dblock@amazon.com>

---------

Signed-off-by: dblock <dblock@amazon.com>
2023-04-04 15:49:27 -04:00
Miki 9da8dc23b6
Improve logging of the link checker ()
Signed-off-by: Miki <miki@amazon.com>

Signed-off-by: Miki <miki@amazon.com>
2022-09-19 11:55:18 -07:00
Miki 41c01358b9 Enhancements to link-checker
* Handle validation of non-HTML assets (zip files for samples)
* Cleaned the documentation

Signed-off-by: Miki <mehranb@amazon.com>
2021-10-07 13:19:36 -07:00
Miki 634db90e9b Link checker plugin and some fixes to URLs
Signed-off-by: Miki <mehranb@amazon.com>
2021-08-12 14:45:04 -07:00