Skip to content

Commit 0a6e129

Browse files
authored
Update minimal sphinx theme version so that we can use parallel doc builds (#17719)
Based on my previous data from #14856 adding parallelism should substantially improve doc build times, and the upstream issue blocking that has been resolved now. Authors: - Vyas Ramasubramani (https://github.com/vyasr) Approvers: - Bradley Dice (https://github.com/bdice) URL: #17719
1 parent e0dac5d commit 0a6e129

File tree

4 files changed

+15
-9
lines changed

4 files changed

+15
-9
lines changed

ci/build_docs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# Copyright (c) 2023-2024, NVIDIA CORPORATION.
2+
# Copyright (c) 2023-2025, NVIDIA CORPORATION.
33

44
set -euo pipefail
55

@@ -49,7 +49,7 @@ popd
4949

5050
rapids-logger "Build Python docs"
5151
pushd docs/cudf
52-
make dirhtml
52+
make dirhtml O="-j 8"
5353
mkdir -p "${RAPIDS_DOCS_DIR}/cudf/html"
5454
mv build/dirhtml/* "${RAPIDS_DOCS_DIR}/cudf/html"
5555
popd

conda/environments/all_cuda-118_arch-x86_64.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ dependencies:
7070
- pre-commit
7171
- ptxcompiler
7272
- pyarrow>=14.0.0,<19.0.0a0
73-
- pydata-sphinx-theme!=0.14.2
73+
- pydata-sphinx-theme>=0.15.4
7474
- pynvml>=12.0.0,<13.0.0a0
7575
- pytest-benchmark
7676
- pytest-cases>=3.8.2
@@ -87,11 +87,11 @@ dependencies:
8787
- s3fs>=2022.3.0
8888
- scikit-build-core>=0.10.0
8989
- scipy
90-
- sphinx
9190
- sphinx-autobuild
9291
- sphinx-copybutton
9392
- sphinx-markdown-tables
9493
- sphinx-remove-toctrees
94+
- sphinx>=8.1.0
9595
- sphinxcontrib-websupport
9696
- streamz
9797
- sysroot_linux-64==2.17

conda/environments/all_cuda-125_arch-x86_64.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ dependencies:
6767
- polars>=1.11,<1.18
6868
- pre-commit
6969
- pyarrow>=14.0.0,<19.0.0a0
70-
- pydata-sphinx-theme!=0.14.2
70+
- pydata-sphinx-theme>=0.15.4
7171
- pynvjitlink>=0.0.0a0
7272
- pynvml>=12.0.0,<13.0.0a0
7373
- pytest-benchmark
@@ -86,11 +86,11 @@ dependencies:
8686
- s3fs>=2022.3.0
8787
- scikit-build-core>=0.10.0
8888
- scipy
89-
- sphinx
9089
- sphinx-autobuild
9190
- sphinx-copybutton
9291
- sphinx-markdown-tables
9392
- sphinx-remove-toctrees
93+
- sphinx>=8.1.0
9494
- sphinxcontrib-websupport
9595
- streamz
9696
- sysroot_linux-64==2.17

dependencies.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -618,10 +618,16 @@ dependencies:
618618
- nbsphinx
619619
- numpydoc
620620
- pandoc
621-
# https://github.com/pydata/pydata-sphinx-theme/issues/1539
622-
- pydata-sphinx-theme!=0.14.2
621+
# Minimum version for safe parallel writing again.
622+
# https://github.com/pydata/pydata-sphinx-theme/pull/1859
623+
# https://github.com/pydata/pydata-sphinx-theme/releases/tag/v0.15.4
624+
- pydata-sphinx-theme>=0.15.4
623625
- scipy
624-
- sphinx
626+
# Needed for safe parallel writes as with the pydata-sphinx-theme pin above
627+
# https://github.com/sphinx-doc/sphinx/issues/12409
628+
# https://github.com/sphinx-doc/sphinx/pull/12888
629+
# https://github.com/sphinx-doc/sphinx/releases/tag/v8.1.0
630+
- sphinx>=8.1.0
625631
- sphinx-autobuild
626632
- sphinx-copybutton
627633
- sphinx-markdown-tables

0 commit comments

Comments
 (0)