File tree 1 file changed +14
-1
lines changed 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -141,14 +141,25 @@ commands:
141
141
[ "$CIRCLE_PR_NUMBER" = "" ]; then
142
142
export RELEASE_TAG='-t release'
143
143
fi
144
- make html O="-T $RELEASE_TAG -j4"
144
+ make html O="-T $RELEASE_TAG -j4 -w /tmp/sphinxerrorswarnings.log "
145
145
rm -r build/html/_sources
146
146
working_directory : doc
147
147
- save_cache :
148
148
key : sphinx-env-v1-{{ .BuildNum }}-{{ .Environment.CIRCLE_JOB }}
149
149
paths :
150
150
- doc/build/doctrees
151
151
152
+ doc-show-errors-warnings :
153
+ steps :
154
+ - run :
155
+ (grep "WARNING\|ERROR" /tmp/sphinxerrorswarnings.log || true)
156
+
157
+ doc-show-deprecations :
158
+ steps :
159
+ - run :
160
+ (grep DeprecationWarning -r -l doc/build/html/gallery || true)
161
+ (grep DeprecationWarning -r -l doc/build/html/tutorials || true)
162
+
152
163
doc-bundle :
153
164
steps :
154
165
- run :
@@ -186,6 +197,8 @@ jobs:
186
197
- doc-deps-install
187
198
188
199
- doc-build
200
+ - doc-show-errors-warnings
201
+ - doc-show-deprecations
189
202
190
203
- doc-bundle
191
204
You can’t perform that action at this time.
0 commit comments