diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 2b38c07e03..2d4a7dcbfc 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -17,7 +17,7 @@ build: post_build: - | # Work around Readthedocs bug: Command parsing fails if the 'if' statement is on the first line - if [ "$READTHEDOCS_VERSION" = "development" ]; then + if [ "$READTHEDOCS_VERSION" = "dev-bensze01-in-tree-redirects-test" ]; then "$READTHEDOCS_VIRTUALENV_PATH/bin/rtd" projects "Mbed TLS API" redirects sync --wet-run -f docs/redirects.yaml fi