1name: CI-docs 2 3on: 4 pull_request: 5 paths: 6 - 'docs/**' 7 - '!docs/code/**' 8 - '.github/workflows/CI-docs.yml' 9 10jobs: 11 docs-src: 12 runs-on: ubuntu-latest 13 steps: 14 - uses: actions/checkout@v4 15 - uses: actions/setup-python@v5 16 with: 17 python-version: '3.9' 18 cache: 'pip' # caching pip dependencies 19 - run: pip install -r docs/requirements.txt 20 - name: html 21 run: | 22 make -C docs html 23 - name: linkcheck 24 run: | 25 make -C docs linkcheck 26