X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2Fconf.py;h=af57fd7e2d3ac6b76f2fec71cf1684b907eaffcc;hb=33a47ce05679a2a982d3a84bb8c86f3928177460;hp=07032acd2f9866adecbe48438be2dbf59082ac72;hpb=47837f25c9f7325ce8e9544d97d97b6dee6cd37f;p=sim%2Fa1-interface.git diff --git a/docs/conf.py b/docs/conf.py index 07032ac..af57fd7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,7 +1,32 @@ from docs_conf.conf import * +branch = 'i-release' + +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.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'