Skip to content

Commit 8aed182

Browse files
committed
CDRIVER-1979 use modern sphinx on evergreen
1 parent 9d971be commit 8aed182

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.evergreen/config.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,18 @@ tasks:
326326
# Compile Matrix {{{
327327
- name: make-release-archive
328328
commands:
329+
- command: shell.exec
330+
type: test
331+
params:
332+
working_dir: "mongoc"
333+
script: |
334+
# Need modern Sphinx for :caption: in literal includes
335+
python -m virtualenv venv
336+
cd venv
337+
. bin/activate
338+
./bin/pip install sphinx
339+
cd ..
340+
329341
- command: shell.exec
330342
type: test
331343
params:
@@ -336,6 +348,12 @@ tasks:
336348
export MONGOC_TEST_FUTURE_TIMEOUT_MS=30000
337349
export MONGOC_TEST_SKIP_LIVE=on
338350
export MONGOC_TEST_SKIP_SLOW=on
351+
352+
# Use modern sphinx-build from venv.
353+
. venv/bin/activate
354+
which sphinx-build
355+
sphinx-build --version
356+
339357
./autogen.sh --enable-html-docs --enable-man-pages && make distcheck
340358
- func: "upload docs"
341359
- func: "upload release"

0 commit comments

Comments
 (0)