Skip to content

Commit

Permalink
chore: restore htmlproofer with upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
mwfarb committed Jun 20, 2024
1 parent 686e7c8 commit e947b4e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- master
- gh-pages
workflow_dispatch:

permissions:
Expand Down Expand Up @@ -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
3 changes: 1 addition & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"
13 changes: 7 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion content/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e947b4e

Please sign in to comment.