aboutsummaryrefslogtreecommitdiffstats
path: root/docs/conf.py
diff options
context:
space:
mode:
authorhalil.cakal <halil.cakal@est.tech>2022-11-16 13:24:44 +0000
committerhalil.cakal <halil.cakal@est.tech>2022-11-18 10:18:15 +0000
commit3607907428bb3c8cd569b7d3cb05480d645893d9 (patch)
treef430054eabdbeb262400674ea7239963b01aa754 /docs/conf.py
parented0b18250bab22f6cdfbb570f2495301cf669d77 (diff)
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 <halil.cakal@est.tech>
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py21
1 files changed, 20 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index a9c42b67..ee7f207a 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -22,7 +22,9 @@ extensions = [
'sphinxcontrib.blockdiag',
'sphinxcontrib.seqdiag',
'sphinxcontrib.swaggerdoc',
- 'sphinxcontrib.plantuml'
+ 'sphinxcontrib.plantuml',
+ 'sphinxcontrib.redoc',
+ 'sphinx_tabs.tabs'
]
#
@@ -32,6 +34,23 @@ extensions = [
branch = 'latest'
+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'