bef539284df7c8cc44dd74162c22b03d3599c875
[nonrtric.git] / conf.py
1 from docs_conf.conf import *
2
3 #branch configuration
4
5 branch = 'latest'
6
7 linkcheck_ignore = [
8     'http://localhost.*',
9     'http://127.0.0.1.*',
10     'https://gerrit.o-ran-sc.org.*',
11     './ics-api.html', #Generated file that doesn't exist at link check.
12 ]
13
14 extensions = ['sphinxcontrib.redoc', 'sphinx.ext.intersphinx',]
15
16 redoc = [
17             {
18                 'name': 'ICS API',
19                 'page': 'ics-api',
20                 'spec': '../information-coordinator-service/api/ics-api.json',
21                 'embed': True,
22             }
23         ]
24
25 redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js'
26
27 #intershpinx mapping with other projects
28 intersphinx_mapping = {}
29
30 intersphinx_mapping['nonrtric-controlpanel'] = ('https://docs.o-ran-sc.org/projects/o-ran-sc-portal-nonrtric-controlpanel/en/%s' % branch, None)
31 intersphinx_mapping['sim-a1-interface'] = ('https://docs.o-ran-sc.org/projects/o-ran-sc-sim-a1-interface/en/%s' % branch, None)