X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2Fconf.py;h=42330a686d1599e976efffc4ba830f8672a64d81;hb=3c47934969cb887007ad96d71906598a9a4bf0cc;hp=7a27615a87504c2266cdce5325582b9e4244f04d;hpb=30f41fcbaa50eef322aa47efe8346b432b96b578;p=sim%2Fa1-interface.git diff --git a/docs/conf.py b/docs/conf.py index 7a27615..42330a6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,13 +1,32 @@ 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.*', + './KAFKA_DISPATCHER_api.html', + './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, + }, + { + 'name': 'Kafka Message Dispatcher', + 'page': 'KAFKA_DISPATCHER_api', + 'spec': '../near-rt-ric-simulator/test/KAFKA_DISPATCHER/api/KAFKA_DISPATCHER_api.yaml', + 'embed': True, + }, + ] + +redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js'