Skip to content

Commit 001cb16

Browse files
mabdinurgithub-actions[bot]
authored andcommitted
chore: fix docs builds (#15533)
(cherry picked from commit fdd8fed)
1 parent e87d26f commit 001cb16

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
@@ -346,3 +346,5 @@ xfail
346346
yaaredis
347347
openai-agents
348348
validators
349+
jitter
350+
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)