From e947b4eb414bcff6ed5c1d662ffc3443586a2a4e Mon Sep 17 00:00:00 2001 From: mwfarb Date: Thu, 20 Jun 2024 16:12:18 -0400 Subject: [PATCH] chore: restore htmlproofer with upgrade --- .github/workflows/github-pages.yml | 12 ++++++------ Gemfile | 3 +-- Makefile | 13 +++++++------ content/examples.md | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index ff94ff4a..a5e6ffb8 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -4,7 +4,6 @@ on: push: branches: - master - - gh-pages workflow_dispatch: permissions: @@ -45,8 +44,9 @@ jobs: id: deployment uses: actions/deploy-pages@v4 - # html-link-check: - # needs: build - # runs-on: ubuntu-latest - # steps: - # - run: make check + html-link-check: + needs: build + runs-on: ubuntu-latest + steps: + - name: Check html Links + run: make check diff --git a/Gemfile b/Gemfile index 3efee364..02a69d63 100644 --- a/Gemfile +++ b/Gemfile @@ -25,7 +25,6 @@ end # Performance-booster for watching directories on Windows gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin] -# gem "html-proofer", "=3.15.0" -gem "html-proofer" +gem "html-proofer", "~> 5" gem "webrick", "~> 1.7" diff --git a/Makefile b/Makefile index 7c485606..d3852a51 100644 --- a/Makefile +++ b/Makefile @@ -10,12 +10,13 @@ all: install serve check: $(JEKYLL) doctor - $(HTMLPROOF) --check-html \ - --http-status-ignore 999,403,429,301 \ - --assume-extension \ - --allow-hash-href \ - --check-favicon \ - --empty-alt-ignore \ + $(HTMLPROOF) \ + --ignore-status-codes "0,301,307,403,429,999" \ + --ignore-missing-alt \ + --ignore-empty-alt \ + --allow-missing-href \ + --no-check-external-hash \ + --no-enforce-https \ _site install: $(PROJECT_DEPS) diff --git a/content/examples.md b/content/examples.md index 86b20531..0c4fdbec 100644 --- a/content/examples.md +++ b/content/examples.md @@ -681,7 +681,7 @@ These effects are enabled in desktop and XR views. For reference, a list of [all [t-username]: /content/overview/user-guide#arena-username [t-video]: /content/interface/user-presence#user-video [t-videosphere]: /content/overview/panoramic -[t-webxr-api]: /content/overview/debug#webxr-api-emulator +[t-webxr-api]: /content/overview/debug#webxr-api-emulators [t-profile]: /content/interface/user-account [t-null]: /content/schemas/definitions#actions [t-remote-render]: https://github.com/arenaxr/arena-renderfusion#arena-renderfusion