Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveSkender committed Apr 2, 2024
1 parent 196b413 commit a447d49
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/test-docs-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ jobs:
bundle install
- name: Setup HTML Proofer
run: gem install html-proofer
run: |
gem install html-proofer
htmlproofer --help
- name: Replace "data-src"
uses: jacobtomlinson/gha-find-replace@v3
Expand Down Expand Up @@ -63,19 +65,13 @@ jobs:
BUNDLE_GEMFILE: ${{github.workspace}}/docs/GemFile
run: bundle exec jekyll serve --detach

- name: HTML Proofer help
working-directory: docs
run: htmlproofer --help

# reminder, to get args info:
# gem install html-proofer
# htmlproofer --help
# see help in setup step
- name: Test for broken URLs
working-directory: docs
run: |
htmlproofer _site \
--no-enforce-https \
--check_external_hash=false \
--allow-hash-href \
--ignore-status-codes "0,302,403,406,408,429,503,999" \
--swap-urls "https\://python.stockindicators.dev:http\://127.0.0.1:4000" \
--ignore-urls "/fonts.gstatic.com/"
Expand Down

0 comments on commit a447d49

Please sign in to comment.