X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=docs%2Fconf.py;h=20c71fc328cd2539cd291b2951ca03696713ce84;hb=0268b146cb35f0b5cdc4f8deb2668055bc4ce940;hp=d62028984271f231ea84a10aa645928163206a03;hpb=0a4c38bb5bfc553c6515a447bb70824988830f84;p=nonrtric.git diff --git a/docs/conf.py b/docs/conf.py index d6202898..20c71fc3 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. + './ics-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': 'ICS API', + 'page': 'ics-api', + 'spec': '../information-coordinator-service/api/ics-api.json', + 'embed': True, + } + ] + +redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js' + #intershpinx mapping with other projects intersphinx_mapping = {}