blob: 85721c6af95ddb9a6e8569333c669a292f8b1016 [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.
12 './ecs-api.html' #Generated file that doesn't exist at link check.
maximessone6b4d272019-10-31 13:26:13 +010013]
elinuxhenrik0a4c38b2020-04-14 10:59:36 +020014
elinuxhenrik5ada5152020-10-19 10:39:59 +020015extensions = ['sphinxcontrib.redoc', 'sphinx.ext.intersphinx',]
16
17redoc = [
18 {
19 'name': 'RAC API',
20 'page': 'rac-api',
21 'spec': '../r-app-catalogue/api/rac-api.json',
22 'embed': True,
elinuxhenrik6208ce82020-11-18 15:15:07 +010023 },
24 {
25 'name': 'ECS API',
26 'page': 'ecs-api',
elinuxhenrik7a09fbb2020-12-04 16:51:19 +010027 'spec': '../enrichment-coordinator-service/api/ecs-api.json',
elinuxhenrik6208ce82020-11-18 15:15:07 +010028 'embed': True,
elinuxhenrik5ada5152020-10-19 10:39:59 +020029 }
30 ]
31
32redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js'
33
elinuxhenrik0a4c38b2020-04-14 10:59:36 +020034#intershpinx mapping with other projects
35intersphinx_mapping = {}
36
37intersphinx_mapping['nonrtric-controlpanel'] = ('https://docs.o-ran-sc.org/projects/o-ran-sc-portal-nonrtric-controlpanel/en/%s' % branch, None)
38intersphinx_mapping['sim-a1-interface'] = ('https://docs.o-ran-sc.org/projects/o-ran-sc-sim-a1-interface/en/%s' % branch, None)