X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2Fconf.py;h=85721c6af95ddb9a6e8569333c669a292f8b1016;hb=f300194deee749427175a05ed4af8bd563447ba0;hp=d62028984271f231ea84a10aa645928163206a03;hpb=0a4c38bb5bfc553c6515a447bb70824988830f84;p=nonrtric.git diff --git a/docs/conf.py b/docs/conf.py index d6202898..85721c6a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -7,9 +7,30 @@ branch = 'latest' linkcheck_ignore = [ 'http://localhost.*', 'http://127.0.0.1.*', - 'https://gerrit.o-ran-sc.org.*' + 'https://gerrit.o-ran-sc.org.*', + './rac-api.html', #Generated file that doesn't exist at link check. + './ecs-api.html' #Generated file that doesn't exist at link check. ] +extensions = ['sphinxcontrib.redoc', 'sphinx.ext.intersphinx',] + +redoc = [ + { + 'name': 'RAC API', + 'page': 'rac-api', + 'spec': '../r-app-catalogue/api/rac-api.json', + 'embed': True, + }, + { + 'name': 'ECS API', + 'page': 'ecs-api', + 'spec': '../enrichment-coordinator-service/api/ecs-api.json', + 'embed': True, + } + ] + +redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js' + #intershpinx mapping with other projects intersphinx_mapping = {}