X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2Fconf.py;fp=docs%2Fconf.py;h=e4fa58d440882348a9214b4ab56907ed66f9bf34;hb=6e325de83c8469a93500a8c0b8f4458158ed6905;hp=7a27615a87504c2266cdce5325582b9e4244f04d;hpb=b5ca7ce70bdfa58701f9fb5fe8a36a4a8b55bc82;p=sim%2Fa1-interface.git diff --git a/docs/conf.py b/docs/conf.py index 7a27615..e4fa58d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,13 +1,25 @@ from docs_conf.conf import * +branch = 'latest' + language = 'en' linkcheck_ignore = [ 'http://localhost.*', 'http://127.0.0.1.*', - 'https://gerrit.o-ran-sc.org.*' + 'https://gerrit.o-ran-sc.org.*', + './EXT_SRV_api.html', #Generated file that doesn't exist at link check. ] -extensions = [ - 'sphinxcontrib.openapi', -] +extensions = ['sphinxcontrib.redoc'] + +redoc = [ + { + 'name': 'CALLOUT SERVER', + 'page': 'EXT_SRV_api', + 'spec': '../near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml', + 'embed': True, + } + ] + +redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js'