summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py21
-rw-r--r--docs/requirements-docs.txt2
2 files changed, 22 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'
diff --git a/docs/requirements-docs.txt b/docs/requirements-docs.txt
index 71df2ab0..2c805dc5 100644
--- a/docs/requirements-docs.txt
+++ b/docs/requirements-docs.txt
@@ -5,3 +5,5 @@ sphinxcontrib-seqdiag # BSD
sphinxcontrib-swaggerdoc
sphinxcontrib-spelling
sphinxcontrib-plantuml
+sphinxcontrib-redoc
+sphinx-tabs