Remove the link-checker action and support
Based on the order of operations in this file, this was probably the
only part of link-check that depends on Python. (Saving it for now in
case the next link checker we settle on also needs a similar scaffold)
@@ -28,21 +28,21 @@ jobs:
-iname '*.md' \
-exec ./node_modules/markdown-link-check/markdown-link-check --config .github/workflows/markdown-link-check-config.json {} \;
- - name: Set up Python ${{ matrix.python-version }}
- uses: actions/setup-python@v1
- with:
- python-version: ${{ matrix.python-version }}
- - name: Install dependencies
- run: |
- python -m pip install --upgrade pip
- pip install -r docs/requirements.txt
- - name: Build docs for link check
- run: mkdocs build
- # Using liche action to check generated HTML site
- - name: Link Checker (generated site)
- id: lc
- uses: peter-evans/link-checker@v1
- with:
- args: -d ./site -r ./site -x man7.org
- - name: Fail if there were link errors
- run: exit ${{ steps.lc.outputs.exit_code }}
+ # - name: Set up Python ${{ matrix.python-version }}
+ # uses: actions/setup-python@v1
+ # with:
+ # python-version: ${{ matrix.python-version }}
+ # - name: Install dependencies
+ # run: |
+ # python -m pip install --upgrade pip
+ # pip install -r docs/requirements.txt
+ # - name: Build docs for link check
+ # run: mkdocs build
+ ## Using liche action to check generated HTML site
+ # - name: Link Checker (generated site)
+ # id: lc
+ # uses: peter-evans/link-checker@v1
+ # with:
+ # args: -d ./site -r ./site -x man7.org
+ # - name: Fail if there were link errors
+ # run: exit ${{ steps.lc.outputs.exit_code }}
