X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docs%2Fconf.py;h=42330a686d1599e976efffc4ba830f8672a64d81;hb=514637b303ec7dc6390007be1a046189f7a9d169;hp=07032acd2f9866adecbe48438be2dbf59082ac72;hpb=f6a48104c0a89a91dc36bb175c8ca301bfc9950d;p=sim%2Fa1-interface.git diff --git a/docs/conf.py b/docs/conf.py index 07032ac..42330a6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -1,7 +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.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'