summaryrefslogtreecommitdiffstats
path: root/docs/conf.py
diff options
context:
space:
mode:
authorelinuxhenrik <henrik.b.andersson@est.tech>2020-10-01 10:52:59 +0200
committerSingal, Kapil (ks220y) <ks220y@att.com>2020-10-07 11:02:35 -0400
commit3c0cb32c558ebec18600ee5ec3c00e7fc323f099 (patch)
treed34177c4422f84219cb8fa13e0408a2c76466e5d /docs/conf.py
parentabc005f4b2f9f80ed7fa658758da803ad6d91583 (diff)
Use redoc for api docs
Change-Id: Ia530424154226698aad6c1498c90eadf23efdea0 Issue-ID: CCSDK-2833 Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py13
1 files changed, 12 insertions, 1 deletions
diff --git a/docs/conf.py b/docs/conf.py
index de84a196..bb52b59d 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -7,7 +7,18 @@ linkcheck_ignore = [
'http://localhost',
]
-extensions = ['sphinx_tabs.tabs']
+extensions = ['sphinx_tabs.tabs', 'sphinxcontrib.redoc',]
+
+redoc = [
+ {
+ 'name': 'PMS API',
+ 'page': 'offeredapis/pms-api',
+ 'spec': './offeredapis/swagger/pms-api.json',
+ 'embed': True,
+ }
+ ]
+
+redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js'
intersphinx_mapping = {}