blob: c5e504d8006afa6b9001465e3464e85633c8630f [file] [log] [blame]
maximessone6b4d272019-10-31 13:26:13 +01001from docs_conf.conf import *
elinuxhenrik0a4c38b2020-04-14 10:59:36 +02002
3#branch configuration
4
5branch = 'latest'
6
maximessone6b4d272019-10-31 13:26:13 +01007linkcheck_ignore = [
8 'http://localhost.*',
9 'http://127.0.0.1.*',
elinuxhenrik5ada5152020-10-19 10:39:59 +020010 'https://gerrit.o-ran-sc.org.*',
elinuxhenrik6208ce82020-11-18 15:15:07 +010011 './rac-api.html', #Generated file that doesn't exist at link check.
PatrikBuhrcddb8132021-12-01 11:02:19 +010012 './ics-api.html', #Generated file that doesn't exist at link check.
13 './dmaap-adaptor-api.html' #Generated file that doesn't exist at link check.
maximessone6b4d272019-10-31 13:26:13 +010014]
elinuxhenrik0a4c38b2020-04-14 10:59:36 +020015
elinuxhenrik5ada5152020-10-19 10:39:59 +020016extensions = ['sphinxcontrib.redoc', 'sphinx.ext.intersphinx',]
17
18redoc = [
19 {
20 'name': 'RAC API',
21 'page': 'rac-api',
22 'spec': '../r-app-catalogue/api/rac-api.json',
23 'embed': True,
elinuxhenrik6208ce82020-11-18 15:15:07 +010024 },
25 {
elinuxhenrik29804372021-12-01 07:36:37 +010026 'name': 'ICS API',
27 'page': 'ics-api',
PatrikBuhrc6916032021-11-22 16:12:27 +010028 'spec': '../information-coordinator-service/api/ics-api.json',
elinuxhenrik6208ce82020-11-18 15:15:07 +010029 'embed': True,
PatrikBuhrcddb8132021-12-01 11:02:19 +010030 },
31 {
32 'name': 'DMaaP Adaptor API',
33 'page': 'dmaap-adaptor-api',
34 'spec': '../dmaap-adaptor-java/api/api.json',
35 'embed': True,
elinuxhenrik5ada5152020-10-19 10:39:59 +020036 }
37 ]
38
39redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js'
40
elinuxhenrik0a4c38b2020-04-14 10:59:36 +020041#intershpinx mapping with other projects
42intersphinx_mapping = {}
43
44intersphinx_mapping['nonrtric-controlpanel'] = ('https://docs.o-ran-sc.org/projects/o-ran-sc-portal-nonrtric-controlpanel/en/%s' % branch, None)
45intersphinx_mapping['sim-a1-interface'] = ('https://docs.o-ran-sc.org/projects/o-ran-sc-sim-a1-interface/en/%s' % branch, None)