From c218ccaba2c34d497fd1d69555fbb5c7ccf07f4b Mon Sep 17 00:00:00 2001 From: JohnKeeney Date: Thu, 11 Jul 2024 14:20:04 +0100 Subject: [PATCH] Add additional API documentation - Fix RTD job (2) Issue-ID: SMO-155 Change-Id: I0cef0fb9fb7ae9bf3f8fe87436354e9f6e67ad96 Signed-off-by: JohnKeeney --- .readthedocs.yaml | 1 + docs/conf.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 50e0097..7af0562 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -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/ diff --git a/docs/conf.py b/docs/conf.py index 8b5c044..c451d4f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -37,6 +37,9 @@ 'page': 'offeredapis/topology-exposure-inventory-openapi', 'spec': './offeredapis/topology-exposure-inventory-openapi.yaml', 'embed': True, + 'opts': { + 'suppress-warnings': True + } } ] html_extra_path = [