Merge pull request #7739 from davidhorstmann-arm/2.28-fix-iar-typo

[Backport 2.28] Fix typo in CMakeList.txt in IAR compiler flags
diff --git a/.readthedocs.yaml b/.readthedocs.yaml
index cef07bf..47bec76 100644
--- a/.readthedocs.yaml
+++ b/.readthedocs.yaml
@@ -12,8 +12,8 @@
     python: "3.9"
   jobs:
     pre_build:
-      - make apidoc
-      - breathe-apidoc -o docs/api apidoc/xml
+    - ./scripts/apidoc_full.sh
+    - breathe-apidoc -o docs/api apidoc/xml
 
 # Build documentation in the docs/ directory with Sphinx
 sphinx: