mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-07-29 23:37:48 +00:00
Work around Readthedocs command parsing bug
Signed-off-by: Bence Szépkúti <[email protected]>
This commit is contained in:
@@ -16,6 +16,7 @@ build:
|
||||
- breathe-apidoc -o docs/api apidoc/xml
|
||||
post_build:
|
||||
- |
|
||||
# Work around Readthedocs bug: Command parsing fails if the 'if' statement is on the first line
|
||||
if [ "$READTHEDOCS_VERSION" = "development" ]; then
|
||||
"$READTHEDOCS_VIRTUALENV_PATH/bin/rtd" projects "Mbed TLS API" redirects sync --wet-run -f docs/redirects.yaml
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user