Add additional API documentation - Fix RTD job (2) 75/13175/1
authorJohnKeeney <john.keeney@est.tech>
Thu, 11 Jul 2024 13:20:04 +0000 (14:20 +0100)
committerJohnKeeney <john.keeney@est.tech>
Thu, 11 Jul 2024 13:20:11 +0000 (14:20 +0100)
Issue-ID: SMO-155
Change-Id: I0cef0fb9fb7ae9bf3f8fe87436354e9f6e67ad96
Signed-off-by: JohnKeeney <john.keeney@est.tech>
.readthedocs.yaml
docs/conf.py

index 50e0097..7af0562 100644 (file)
@@ -28,6 +28,7 @@ build:
     python: "3.11"
   jobs:
     post_build:
+      - mkdir -p $READTHEDOCS_OUTPUT/html/offeredapis/html/
       - cp -v docs/offeredapis/html/index.html $READTHEDOCS_OUTPUT/html/offeredapis/html/
       - cp -v docs/offeredapis/index.html $READTHEDOCS_OUTPUT/html/offeredapis/
       - cp -v docs/offeredapis/topology-exposure-inventory-openapi.yaml $READTHEDOCS_OUTPUT/html/offeredapis/
index 8b5c044..c451d4f 100644 (file)
@@ -37,6 +37,9 @@ redoc = [
                 'page': 'offeredapis/topology-exposure-inventory-openapi',
                 'spec': './offeredapis/topology-exposure-inventory-openapi.yaml',
                 'embed': True,
+                'opts': {
+                    'suppress-warnings': True
+                }
             }
 ]
 html_extra_path = [