Skip to content

Commit fdd8fed

Browse files
authored
chore: fix docs builds (#15533)
1 parent 900f4d7 commit fdd8fed

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

docs/spelling_wordlist.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,3 +349,5 @@ xfail
349349
yaaredis
350350
openai-agents
351351
validators
352+
jitter
353+
durations

scripts/docs/build.sh

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,13 @@
22
set -eux
33

44
if [[ "${READTHEDOCS:-}" = "True" ]]; then
5-
# We skip here because we do not check spelling in RTD
6-
echo "Skipping install"
5+
echo "Skipping spelling check in RTD"
76
else
87
if [[ "$(uname)" == "Darwin" ]]; then
98
brew install enchant
9+
export PYENCHANT_LIBRARY_PATH=$(brew --prefix enchant)/lib/libenchant-2.dylib
1010
fi
11+
sphinx-build -vvv -W -b spelling docs docs/_build/spelling
1112
fi
12-
13-
if [[ "$(uname)" == "Darwin" ]]; then
14-
export PYENCHANT_LIBRARY_PATH=/opt/homebrew/lib/libenchant-2.dylib
15-
fi
16-
1713
reno lint
18-
sphinx-build -vvv -W -b spelling docs docs/_build/html
1914
sphinx-build -vvv -W -b html docs docs/_build/html

0 commit comments

Comments
 (0)