Repository navigation
Fix broken links from recent Classic UI and Backend documentation #6100
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test Plone 6 documentation | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: | | |
| pip install -q -r requirements-initial.txt | |
| pip install -q -r requirements.txt | |
| sudo snap install --edge vale | |
| - name: Build HTML | |
| run: make html | |
| - name: Run vale | |
| run: | | |
| git clone https://github.com/errata-ai/Microsoft.git | |
| cp -r ./Microsoft/Microsoft ./styles | |
| VALEFILES=$(find -L ./docs/ -type d \( -path "./docs/plone.restapi/lib/*" -o -path "./docs/plone.restapi/performance/*" \) -prune -false -o -type f -name "*.md" -print) | |
| vale --no-exit $VALEFILES | |
| - name: Check for broken links | |
| run: make linkcheck |