diff --git a/docs/spelling_wordlist.txt b/docs/spelling_wordlist.txt index bae87a5fab9..254b8e05f05 100644 --- a/docs/spelling_wordlist.txt +++ b/docs/spelling_wordlist.txt @@ -346,3 +346,5 @@ xfail yaaredis openai-agents validators +jitter +durations \ No newline at end of file diff --git a/scripts/docs/build.sh b/scripts/docs/build.sh index bdc101cb515..94874676eda 100755 --- a/scripts/docs/build.sh +++ b/scripts/docs/build.sh @@ -2,18 +2,13 @@ set -eux if [[ "${READTHEDOCS:-}" = "True" ]]; then - # We skip here because we do not check spelling in RTD - echo "Skipping install" + echo "Skipping spelling check in RTD" else if [[ "$(uname)" == "Darwin" ]]; then brew install enchant + export PYENCHANT_LIBRARY_PATH=$(brew --prefix enchant)/lib/libenchant-2.dylib fi + sphinx-build -vvv -W -b spelling docs docs/_build/spelling fi - -if [[ "$(uname)" == "Darwin" ]]; then - export PYENCHANT_LIBRARY_PATH=/opt/homebrew/lib/libenchant-2.dylib -fi - reno lint -sphinx-build -vvv -W -b spelling docs docs/_build/html sphinx-build -vvv -W -b html docs docs/_build/html