Merge pull request #7751 from davidhorstmann-arm/2.28-build-docs-realfull

[Backport 2.28] Build the docs in realfull config
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: