Replace openapi docs gen lib with redoc
[sim/a1-interface.git] / docs / conf.py
1 from docs_conf.conf import *
2
3 branch = 'latest'
4
5 language = 'en'
6
7 linkcheck_ignore = [
8     'http://localhost.*',
9     'http://127.0.0.1.*',
10     'https://gerrit.o-ran-sc.org.*',
11     './EXT_SRV_api.html', #Generated file that doesn't exist at link check.
12 ]
13
14 extensions = ['sphinxcontrib.redoc']
15
16 redoc = [
17             {
18                 'name': 'CALLOUT SERVER',
19                 'page': 'EXT_SRV_api',
20                 'spec': '../near-rt-ric-simulator/test/EXT_SRV/api/EXT_SRV_api.yaml',
21                 'embed': True,
22             }
23         ]
24
25 redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js'