This website requires JavaScript.
Explore
Help
Sign In
iSharkFly-Docs
/
opensearch-docs-cn
mirror of
https://github.com/iSharkFly-Docs/opensearch-docs-cn
Watch
1
Star
0
Fork
You've already forked opensearch-docs-cn
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
2f5d20ef04
opensearch-docs-cn
/
check-links.sh
4 lines
85 B
Bash
Raw
Normal View
History
Unescape
Escape
Add CI with link checker. (#3584) * 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
#!/usr/bin/env bash
JEKYLL_FATAL_LINK_CHECKER
=
all bundle
exec
jekyll build --future