aboutsummaryrefslogtreecommitdiff
path: root/.readthedocs.yaml
diff options
context:
space:
mode:
authorBence Szépkúti <bence.szepkuti@arm.com>2023-05-09 20:11:51 +0200
committerBence Szépkúti <bence.szepkuti@arm.com>2023-05-11 10:41:03 +0200
commit71f41deebc2d8ae946a1847f3bf43c81332f4f42 (patch)
treee1c22b2186acf1a883f473f0eac5aaf6cb20478e /.readthedocs.yaml
parent09f8df86ac44ebe8b58ea3a78f222a4f9d3fc899 (diff)
downloadmbedtls-71f41deebc2d8ae946a1847f3bf43c81332f4f42.zip
mbedtls-71f41deebc2d8ae946a1847f3bf43c81332f4f42.tar.gz
mbedtls-71f41deebc2d8ae946a1847f3bf43c81332f4f42.tar.bz2
Work around Readthedocs command parsing bug
Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
Diffstat (limited to '.readthedocs.yaml')
-rw-r--r--.readthedocs.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.readthedocs.yaml b/.readthedocs.yaml
index a98bec7..2b38c07 100644
--- a/.readthedocs.yaml
+++ b/.readthedocs.yaml
@@ -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