From 8fae02214e862ce201b21bb44716abd4063f6bea Mon Sep 17 00:00:00 2001 From: "halil.cakal" Date: Wed, 16 Nov 2022 13:24:44 +0000 Subject: Fix breaking API documentation generation Add extension lfdocs-conf and replace ROBOT_VENV with ROBOT3_VENV Issue-ID: CCSDK-3815 Change-Id: I565ee15bd5862cca0365d153358941b27befb94a Signed-off-by: halil.cakal (cherry picked from commit 3607907428bb3c8cd569b7d3cb05480d645893d9) --- docs/conf.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index 1b1973cc..dc8125d0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -51,6 +51,23 @@ redoc = [ redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js' +redoc = [ + { + 'name': 'PMS API', + 'page': 'offeredapis/pms-api', + 'spec': './offeredapis/swagger/pms-api.json', + 'embed': True, + }, + { + 'name': 'A1 ADAPTER API', + 'page': 'offeredapis/a1-adapter-api', + 'spec': './offeredapis/swagger/a1-adapter-api.json', + 'embed': True, + } + ] + +redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js' + intersphinx_mapping = {} doc_url = 'https://docs.onap.org/projects' master_doc = 'index' -- cgit 1.2.3-korg