-
-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(fix): Fix broken links, add CI to check
Signed-off-by: Dave Henderson <[email protected]>
- Loading branch information
1 parent
c9643ca
commit 11bcd2e
Showing
47 changed files
with
448 additions
and
416 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,35 @@ jobs: | |
echo "Function docs are out of date. Please run 'make gen-func-docs' locally and commit the changes." | ||
exit 1 | ||
fi | ||
muffet: | ||
# TODO: run hugo serve to serve the site in the background for this job | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Hugo setup | ||
uses: peaceiris/[email protected] | ||
with: | ||
# keep this in sync with netlify.toml | ||
hugo-version: '0.128.0' | ||
- uses: actions/checkout@v4 | ||
- name: Install muffet | ||
run: | | ||
gh release --repo raviqqe/muffet download -p muffet_linux_amd64.tar.gz | ||
tar xvf muffet_linux_amd64.tar.gz muffet | ||
sudo mv muffet /usr/local/bin | ||
- name: Serve the site and check links | ||
run: | | ||
set -ex | ||
cd docs | ||
hugo --renderToMemory | ||
hugo serve --watch=false --renderToMemory & | ||
sleep 2 | ||
muffet http://localhost:1313 \ | ||
-r8 --max-connections-per-host=4 --buffer-size=8192 \ | ||
--exclude="https://github\.com.*" \ | ||
--exclude="https://docs\.aws.*" \ | ||
--exclude="https://linux.die\.net.*" \ | ||
--exclude="https://jqplay\.org.*" \ | ||
kill %1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.