File tree Expand file tree Collapse file tree 2 files changed +35
-7
lines changed Expand file tree Collapse file tree 2 files changed +35
-7
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ jobs:
178
178
python -m pip install --upgrade setuptools
179
179
pip install -r requirements.txt
180
180
181
- - name : Install external packages used for dynamic tests
181
+ - name : Install external packages used for sorting imports
182
182
run : |
183
183
pip install .[sorting-imports]
184
184
@@ -187,3 +187,28 @@ jobs:
187
187
isort uds
188
188
isort tests
189
189
isort examples
190
+
191
+ documentation_checks :
192
+ runs-on : ubuntu-latest
193
+
194
+ steps :
195
+ - uses : actions/checkout@v4
196
+
197
+ - name : Set up Python 3.12
198
+ uses : actions/setup-python@v4
199
+ with :
200
+ python-version : 3.12
201
+
202
+ - name : Install project dependencies
203
+ run : |
204
+ python -m pip install --upgrade pip
205
+ python -m pip install --upgrade setuptools
206
+ pip install -r requirements.txt
207
+
208
+ - name : Install external packages used for documentation checking
209
+ run : |
210
+ pip install .[docs-checks]
211
+
212
+ - name : Check RST documentation [doc8]
213
+ run : |
214
+ docs8 docs/source
Original file line number Diff line number Diff line change @@ -66,12 +66,6 @@ test = [
66
66
" pytest-cov" ,
67
67
" pytest-asyncio" ,
68
68
]
69
- docs = [
70
- " sphinx" ,
71
- " sphinx-autoapi" ,
72
- " sphinx-rtd-theme" ,
73
- " tomli" ,
74
- ]
75
69
static-code-analysis = [
76
70
" prospector == 1.10.3" ,
77
71
" mypy == 1.9.0" ,
@@ -86,6 +80,15 @@ dependency-scan = [
86
80
sorting-imports = [
87
81
" isort == 5.13.2"
88
82
]
83
+ docs = [
84
+ " sphinx" ,
85
+ " sphinx-autoapi" ,
86
+ " sphinx-rtd-theme" ,
87
+ " tomli" ,
88
+ ]
89
+ docs-checks = [
90
+ " doc8 == 1.1.1" ,
91
+ ]
89
92
90
93
91
94
[build-system ]
You can’t perform that action at this time.
0 commit comments