X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=docs%2Fconf.py;h=a43b305547fe74b3c1bbac606c8c9a217862ed9b;hb=refs%2Fchanges%2F34%2F134134%2F1;hp=367166bf2168da5ee557d0eda75e5838f848ddac;hpb=bf7c499ac2bc5bc6246db96b0fc8314d4ed091e1;p=policy%2Fparent.git diff --git a/docs/conf.py b/docs/conf.py index 367166bf..a43b3055 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -27,13 +27,14 @@ extensions = [ 'sphinxcontrib.redoc' ] +redoc_uri = 'https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js' + redoc = [ { 'name': 'Policy API', 'page': 'api/local-swagger', 'spec': 'https://raw.githubusercontent.com/onap/policy-api/master/main/src/main/resources/openapi/openapi.yaml', 'opts': { - 'lazy-rendering': True, 'suppress-warnings': True, 'hide-hostname': True, } @@ -43,7 +44,6 @@ redoc = [ 'page': 'pap/local-swagger', 'spec': 'https://raw.githubusercontent.com/onap/policy-pap/master/main/src/main/resources/openapi/openapi.yaml', 'opts': { - 'lazy-rendering': False, 'suppress-warnings': True, 'hide-hostname': True, } @@ -53,7 +53,15 @@ redoc = [ 'page': 'xacml/local-swagger', 'spec': 'https://raw.githubusercontent.com/onap/policy-xacml-pdp/master/main/src/main/resources/openapi/openapi.yaml', 'opts': { - 'lazy-rendering': False, + 'suppress-warnings': True, + 'hide-hostname': True, + } + }, + { + 'name': 'Policy DROOLS', + 'page': 'drools/local-swagger', + 'spec': 'https://raw.githubusercontent.com/onap/policy-drools-pdp/master/feature-healthcheck/src/main/resources/openapi/openapi.yaml', + 'opts': { 'suppress-warnings': True, 'hide-hostname': True, } @@ -63,7 +71,6 @@ redoc = [ 'page': 'clamp/acm/api-protocol/local-swagger', 'spec': 'https://raw.githubusercontent.com/onap/policy-clamp/master/runtime-acm/src/main/resources/openapi/openapi.yaml', 'opts': { - 'lazy-rendering': False, 'suppress-warnings': True, 'hide-hostname': True, }