blob: a6ae7f96c50f52e71f4a3ee603994a07b5d480b2 [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.*',
11 './rac-api.html' #Generated file that doesn't exist at link check.
maximessone6b4d272019-10-31 13:26:13 +010012]
elinuxhenrik0a4c38b2020-04-14 10:59:36 +020013
elinuxhenrik5ada5152020-10-19 10:39:59 +020014extensions = ['sphinxcontrib.redoc', 'sphinx.ext.intersphinx',]
15
16redoc = [
17 {
18 'name': 'RAC API',
19 'page': 'rac-api',
20 'spec': '../r-app-catalogue/api/rac-api.json',
21 'embed': True,
22 }
23 ]
24
25redoc_uri = 'https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js'
26
elinuxhenrik0a4c38b2020-04-14 10:59:36 +020027#intershpinx mapping with other projects
28intersphinx_mapping = {}
29
30intersphinx_mapping['nonrtric-controlpanel'] = ('https://docs.o-ran-sc.org/projects/o-ran-sc-portal-nonrtric-controlpanel/en/%s' % branch, None)
31intersphinx_mapping['sim-a1-interface'] = ('https://docs.o-ran-sc.org/projects/o-ran-sc-sim-a1-interface/en/%s' % branch, None)