diff --git a/.github/workflows/test-docs-links.yml b/.github/workflows/test-docs-links.yml index ff8188c6..74dc6d67 100644 --- a/.github/workflows/test-docs-links.yml +++ b/.github/workflows/test-docs-links.yml @@ -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 @@ -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/"