We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dbae03 commit 9b553acCopy full SHA for 9b553ac
.github/workflows/sphinx-lint.yml
@@ -0,0 +1,30 @@
1
+name: Lint documentation
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ paths:
8
+ - "docs/**"
9
+ pull_request:
10
11
12
13
+jobs:
14
+ doc8:
15
+ runs-on: ubuntu-latest
16
+ strategy:
17
+ matrix:
18
+ python-version: ["3.12"]
19
+ steps:
20
+ - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21
+ - name: Set up Python ${{ matrix.python-version }}
22
+ uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
23
+ with:
24
+ python-version: ${{ matrix.python-version }}
25
+ - name: Install dependencies
26
+ run: |
27
+ python -m pip install --upgrade pip
28
+ pip install sphinx-lint
29
+ - name: Linting docs
30
+ run: sphinx-lint docs
0 commit comments