Skip to content

Commit ae2f807

Browse files
committed
Show errors and warnings in doc CI after build.
1 parent 2171d95 commit ae2f807

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.circleci/config.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,19 @@ commands:
141141
[ "$CIRCLE_PR_NUMBER" = "" ]; then
142142
export RELEASE_TAG='-t release'
143143
fi
144-
make html O="-T $RELEASE_TAG -j4"
144+
make html O="-T $RELEASE_TAG -j4 -w /tmp/sphinxerrorswarnings.log"
145145
rm -r build/html/_sources
146146
working_directory: doc
147147
- save_cache:
148148
key: sphinx-env-v1-{{ .BuildNum }}-{{ .Environment.CIRCLE_JOB }}
149149
paths:
150150
- doc/build/doctrees
151151

152+
doc-show-errors-warnings:
153+
steps:
154+
- run:
155+
grep "WARNING\|ERROR" /tmp/sphinxerrorswarnings.log
156+
152157
doc-bundle:
153158
steps:
154159
- run:
@@ -186,6 +191,7 @@ jobs:
186191
- doc-deps-install
187192

188193
- doc-build
194+
- doc-show-errors-warnings
189195

190196
- doc-bundle
191197

0 commit comments

Comments
 (0)